Date: Wed, 26 Feb 2003 19:01:15 +0200 From: Willie Viljoen <will@unfoldings.net> To: Tijl Coosemans <tijl@ulyssis.org>, freebsd-questions@freebsd.org Subject: Re: cat Message-ID: <200302261901.15799.will@unfoldings.net> In-Reply-To: <20030226175613.5e61f45e.tijl@ulyssis.org> References: <20030226175613.5e61f45e.tijl@ulyssis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 26 February 2003 18:56, someone, possibly Tijl Coosemans, typed: > I want to remove CRs from text files so what I did is this: > > cat filename | tr -d '\r' > filename > > However, I often end up with an empty file. Just out of > interest, somebody who knows why that is? Not a clue, but a tool to do this safely called dosunix is available in ports :) -- Willie Viljoen Freelance IT Consultant 214 Paul Kruger Avenue, Universitas Bloemfontein 9321 South Africa +27 51 522 15 60 +27 51 522 44 36 (after hours) +27 82 404 03 27 (mobile) will@unfoldings.net 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?200302261901.15799.will>