Usuń używając innego separatora z Sed
Dość pewne, że brakuje mi czegoś oczywistego!
$ cat test.txt
00 30 * * * /opt/timebomb.sh >> timebomb.log
01 30 * * * /opt/reincarnate.sh >> reincarnation.log
$ sed ':timebomb:d' test.txt
00 30 * * * /opt/timebomb.sh >> timebomb.log
01 30 * * * /opt/reincarnate.sh >> reincarnation.log
natomiast
$ sed '/timebomb/d' test.txt
01 30 * * * /opt/reincarnate.sh >> reincarnation.log
Dlaczego tak jest? Nie jest obsługiwany inny zestaw ograniczników dlad
dowództwo?