[wplug] CRLF

Ghataora, Hardeep hghataora at ccac.edu
Tue Feb 10 07:51:08 EST 2004


You could also pipe it through 'tr' 
	tr "\n" "\n\r" < filename.txt

There are probably another couple of tools too

h
	

-----Original Message-----
From: Brandon Kuczenski [mailto:brandon at 301south.net] 
Sent: Monday, February 09, 2004 7:12 PM
To: WPLUG
Subject: [wplug] CRLF


Ever since I started at CMU a year ago, I've driven faculty and staff
mad 
with my reluctance to use Micro$oft data formats.  Unfortunately, my 
much-vaunted plain ASCII format has a substantial snag: when I produce 
documents in unix, the lines are not terminated in a Windows-Friendly 
fashion, and my document ends up being unreadable.

Is there any way to use the standard *nix tools to convert the CRs (or
LFs 
- I forget which is which) in an ascii document to CR/LF for windows
text 
editors?

-Brandon


_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug



More information about the wplug mailing list