Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 17:56:13 +0100
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        freebsd-questions@freebsd.org
Subject:   cat
Message-ID:  <20030226175613.5e61f45e.tijl@ulyssis.org>

next in thread | raw e-mail | index | archive | help
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?

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?20030226175613.5e61f45e.tijl>