Date: 6 May 2001 18:15:46 -0000 From: "Christopher Leigh" <clcont@lubbockcomputer.com> To: freebsd-questions@freebsd.org Subject: how to remove ^M from files with tr? Message-ID: <20010506181546.11982.qmail@lubbockcomputer.com>
next in thread | raw e-mail | index | archive | help
hi. i'd like to remove ^M from files with tr, but i don't know how to do it. i *THINK*, i'm not sure if my memory serves me right, but... tr -d \\015\\012 < file.txt > file.txt.unix worked in linux, but it won't work in freebsd. i apologize. i did read the tr man page. i did! i did! :-> regards, christopher PS I want this **WITH** tr, not with vi, not with anything else! 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?20010506181546.11982.qmail>