Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 11:05:27 +0530
From:      Shantanu Mahajan <shantanoo+fbsd@ieee.org>
To:        Tijl Coosemans <tijl@ulyssis.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cat
Message-ID:  <20030227053526.GB439@dhumketu.homeunix.net>

next in thread | raw e-mail | index | archive | help
+++ Tijl Coosemans [freebsd] [26-02-03 17:56 +0100]:
| 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?
| 
| ------------------------------
col -bx < filenam > filenam.new

Regards,
Shantanu


-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it.

PGP keyID	      	: 137AFD9E
PGP keyID fingerprint	: C7DA 3350 1DEA F371 37DC  D92A F0D4 C2ED 137A FD9E


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?20030227053526.GB439>