Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting text file formats: CR/LF/CRLF



> I know I've seen it discussed before, but I just can't find it in the
> archives (search terms too general I guess) but I recall there is a
> command line tool to convert text file formats, could someone tell me
> what its called or the subject of the thread discussing this ussue
> previously.

Right. Try this alias:

fixit = tr '\015' '\012'

formatted appropriately for your favorite shell, of course. :-)

Dave Taylor, Author email@hidden
----------------------------------------------------------------------------
Teach Yourself Unix Sys Admin in 24H, Learning Unix for Mac OS X,
DHTML Weekend Crash Course, Creating Cool HTML 4 Web Pages,
Teach Yourself Unix in 24 Hours http://books.intuitive.com/
_______________________________________________
darwin-userlevel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-userlevel
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Converting text file formats: CR/LF/CRLF (From: "Justin C. Walker" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.