Hat sich erledigt...
Habe schon etwas weiter gemacht:
Code:
#!/bin/bash
NEUEVERANST=$1
NEUESDATUM=$2
NEUERORT=$3
NEUERLINK=$4
function readZeilen {
#Read every Line of the file
cat jahresplan.html | while read line;
do echo "$line";
if [ "$line" == "$olddate" ];
then
echo "$NEUESDATUM";
echo "$NEUEVERANST";
echo "$NEUERORT";
fi
done
}
readZeilen
Das wichtigste unter Windows jedoch:
dos2unix.exe s*****name
--> ausführen, damit \r\n zu \n umgewandelt wird....doofe Geschichte