Date: Mon, 18 Jan 1999 21:53:48 GMT From: David Jones <drj@helper.demon.co.uk> To: freebsd-doc@FreeBSD.ORG Subject: FreeBSD FAQ 8.22 Message-ID: <199901182153.VAA00397@helper.demon.co.uk>
next in thread | raw e-mail | index | archive | help
Regarding the FreeBSD FAQ 8.22 (on http://www.freebsd.org/FAQ/FAQ137.html for example). In the interests of promoting non-perl solutions I suggest that an alternative answer be provided. An amendment like the following would do: <P> Alternatively you can use the tr command: </P> <BLOCKQUOTE> tr -d '\r' <old >new </BLOCKQUOTE> <P> On my FreeBSD system using <CODE>tr</CODE> is about 10 times faster than using <CODE>perl</CODE>. (Though note that the two alternatives don't do quite the same thing). </P> I hereby place this entire message in the public domain free for any use. Cheers, drj drj@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901182153.VAA00397>