On 00:13 Tue 13 Jun , David Morgan wrote: > sed -e :a -e '$!N;s/\n[^$]//;ta' -e 'p;D' filename
Gosh, what was I thinking? sed -e :a -e '$!N;s/\n\([^$]\)/\1/;ta' -e 'p;D' filename I expect there's a slightly nicer way, but I'm tired and I have an exam in the morning... -- Join The no2id Coalition, http://www.no2id.net/ djm -- gentoo-user@gentoo.org mailing list