I am new to
sed. What is wrong with the
sed command on deleting the line which matches the input data?
123, 1234, 1453,
1234,hellofirstline 123,hellosecondline 14676,hellothirdline 1453,hellofourthline
expected output in the Datatodelete.txt
echo "the script starts now" while read EachLine do echo $EachLine sed "/$EachLine/d" < /home/Datatodelete.txt >/home/dummy done < /home/InputData.txt