Date: Wed, 08 Nov 2000 23:32:55 +0100 From: Len Conrad <lconrad@Go2France.com> To: freebsd-questions@freebsd.org Subject: a little help with sed Message-ID: <5.0.0.25.0.20001108232905.02799040@mail.Go2France.com>
next in thread | raw e-mail | index | archive | help
I'd like to remove \n and concat two lines when the last word of first line is a certain value but all of my reading and playing has only gotten me to this non-working "concept" : sed -e s/"lastword"\n/"lastword"/g <oldfile >newfile any sedistas care to take a shot? Tks, Len http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K http://IMGate.MEIway.com: Build free, hi-perf, anti-spam mail gateways To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.0.25.0.20001108232905.02799040>