Hello,
I can delete in a text file with
sed '/pattern1/,/pattern2/d' < file
all lines between the lines with the given patterns, including themself
also; how could I specify that the deletion should exclude the line
with /pattern1/, i.e. the addr is something like /pattern1/+1 ?
Thx
matthias
--
Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: [email protected] | \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ | X - No proprietary attachments
phone: +49-170-4527211 | / \ - Respect for open standards
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"