On Wed, Dec 05, 2001 at 05:18:10PM -0600, David W. Tamkin wrote:
| Use a capital 'I' before the comma *or* before the 'd' without the
| comma and '$' sign.
Only a few versions of sed honor that flag.
Tim *did* say he was using GNU version 3.02.80.
Generally, the answer to
Timothy's question is no. However, this time there's a solution:
sed -ne h -e y/ADEfILMORST/adeFilmorst/ \
-e '/For more details/q' -eg -ep
But even in some lesser versions of sed:
| sed -E '/For more details|FOR MORE DETAILS/,$d'
or even lesser:
| sed -e '/For more details/,$d' -e '/FOR MORE DETAILS/,$d'
Probably less load to do two searches than to translate first.
--
Paul Chvostek
<paul(_at_)it(_dot_)ca>
Operations / Development / Abuse / Whatever vox: +1 416 598-0000
IT Canada http://www.it.ca/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail