Am Montag, 22. Oktober 2007 18:09:37 schrieb Peter Volkov: > | awk '{ if ( $0 == "" ) {el++;} else { if (el>0) print ""; el=0; print $0 > | ;}}' > > I'm not sure that this is the best approach but I did not found a way > how to do this with sed. If it's possible I'd like to know how, so I > could just add another -e 'script' to existing "DO NOT REPLY" striping > recipe.
To delete empty lines with sed, just do a sed '/^$/d' I hope that's what you're looking for. Regards, Elias P. -- A really nice number: "09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0"
signature.asc
Description: This is a digitally signed message part.