delete matching in multiple lines sed

Soren Orel soren.orel at gmail.com
Sat Jul 25 20:08:23 UTC 2009


$ echo -e "something\n<tr>\n<\\\tr>\nsomething" | sed "/<tr>\n<\tr>/d"
something
<tr>
<\tr>
something
Why isn't sed deleting the two lines with the "tr" ?:P
...I google....
If anyone knows the solution...thanks.... :D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090725/cd2c2f4c/attachment.html>


More information about the ubuntu-users mailing list