Date: Thu, 22 Dec 2005 14:52:50 -0500 From: Mikhail Teterin <mi+mx@aldan.algebra.com> To: Tijl Coosemans <tijl@ulyssis.org> Cc: freebsd-questions@freebsd.org Subject: Re: what's an equivalent for the following Perl one-liner? Message-ID: <200512221452.50599.mi%2Bmx@aldan.algebra.com> In-Reply-To: <200512222046.22133.tijl@ulyssis.org> References: <200512211704.49530.mi%2Bmx@aldan.algebra.com> <200512221414.10321.mi%2Bmx@aldan.algebra.com> <200512222046.22133.tijl@ulyssis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Try col(1) or tr(1) to remove the carriage return and then sed to remove > the spaces. Well, yes, but that's a two-stage process. A shame to go through the whole file twice just because our tools aren't good enough. -mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512221452.50599.mi%2Bmx>