On Thu, 5 Jun 1997, Curt Howland wrote:

> Somewhere in the dank recesses of my mind, I recall a utility that
> would strip the extra ^M's from a text file copied to a unix
> box. Well, it seems that Linux also considers these ^M's extranious,
> is there such a standard utility or do I have to digeven deeper to
> remember sed/awk/grep commands?  :^>

dos2unix infile > outfile
or:
fromdos infile > outfile
or:
tr -d "\013"
(in csh clones, it seems like \013 works ; but you may also try Ctrl-V
Ctrl-M).

Vadik.


--
Vadim Vygonets * [EMAIL PROTECTED] * [EMAIL PROTECTED] * Unix admin
The fish doesn't think, because the fish knows...  everything.
        -- Arizona Dream


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to