View Single Post
Old 04-25-09, 11:51 PM   #4
Bluspacecow
Giver of walls of text :)
 
Bluspacecow's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 759
Originally Posted by Verissi View Post
Code:
#!/bin/sh
sed -e 's/$/\r/' $1 > $2
Then call it from the command line like (I named the script addcr):
addcr inputfilename outputfilename
Hope this helps
Doesn't work

I pasted the code into a new script and chmod'd the file.

I execute and it truncates each line with a "r" character ????
__________________
tuba_man on Apple test labs : "I imagine a brushed-aluminum room with a floor made of keyboards, each one plugged into a different test box somewhere. Someone is tasked with tossing a box full of cats (all wearing turtlenecks) into this room. If none of the systems catch fire within 30 minutes, testing is complete. Someone else must remove the cats. All have iPods." (http://community.livejournal.com/tec...t/2018070.html)

Last edited by Bluspacecow : 04-26-09 at 12:39 AM.
Bluspacecow is offline   Reply With Quote