sed help needed

Bennett Todd bet at rahul.net
Mon Feb 14 07:29:38 PST 2005


Modulo quux -vs- quuz (typo?), I believe this works as requested:

    sed -ne '/line a/,/line b/d' -e 's/^# //p' -e '/line c/q' 

-Bennett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-chat/attachments/20050214/f885a533/attachment.sig>


More information about the lfs-chat mailing list