#!/bin/bash

# discarding backslashes before > or < withinin the if command
#  and changing year 2025 to 2026

# the original and edited *.sh names are to be given as parametres!

sed -r "
 s/YMD=\"2025/YMD=\"2026/
 s/ \\\>/ >/
 s/ \\\</ </ " $1 > $2
  
chmod -x $1
chmod +x $2

# now, the dd or even mm-dd in the first command of the resulting script is to be set manually


