|
Yes, you can add metacharacters such as
sed "/^.*blabla\ 'toto'\ rep:\/titi\/toto\/.*$/d" infile > outfile
Also; you can use the -i flag to sed if your version supports it to edit the file in-place, although I personally wouldn't recommend it - at least this way with redirection you keep your original intact incase you form your "sed" badly and ruin the file!
Cheers
ZB
|