Home
About
Top Tens
Blogs
Add Recipe
CATEGORIES
UNIX
FreeBSD
Linux
Solaris
UNIX shell
UNIX software
Apple Mac
Computer programming
Database
Entertainment
Green computing
Internet
Networking
Technology reviews
Windows
Convert Macintosh line breaks to Unix line breaks
Contributed by
skreuzer
October 18, 2003
Tagged:
UNIX
This one liner will convert Macintosh line breaks into Unix line breaks
tr '\015' '\012' < macintosh-format-file > unix-friendly-file
Previous recipe
|
Next recipe
|
blog comments powered by
Disqus
POPULAR RECIPES
Copy and paste text with vi or vim
Show line numbers in vi or vim
Create a symbolic link in UNIX
Remove ^M characters at end of lines in vi
Recursive grep
Create a TAR archive of a directory
Decompress and extract a tgz or tar.gz archive in a single step
Find a file by name in UNIX/Solaris/Linux
View our Top Tens
TECH-RECIPES BLOGS
its my first time: my google nexus one / android experience (part 1)
Nikon (Nikkor) 55-200mm lens repair
How to Download YouTube Videos onto your Nexus One Device
PS3 Slim Quickie: Harddrive Upgrade in less than 5 mins (video)
Facebook My Town Cheat: Send Multiple Free Gifts to Your Neighbors
gadget pr0n: my Google Nexus One and super cheap data...
PS3 and PSP remoteplay styled (video)
my wii and emulators in action (nes, snes, genesis, n64)