View Single Post
04-27-09, 02:48 AM   #8
Bluspacecow
Giver of walls of text :)
 
Bluspacecow's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 770
Originally Posted by Verissi View Post
Ah, then the amended sed line should work just beautifully. I just checked it on my Linux machine and it went swimmingly. You probably should change the /bin/sh reference to /bin/bash (or what ever the path is to bash on your machine) to make sure it's calling bash as the script's interpreter as well.

Absolute worst case, I can whip up a perl script to do the same thing and just PM it over
It still seems to just put the r at the end of each line

I've tried something different this time.

Using TextWrangler I've had it save Dos Line breaks

Here's a file sample.

Can someone test this under windows , open in Notepad ?
Attached Files
File Type: txt 3_1_sounds.save3.txt (72.7 KB, 1981 views)
File Type: txt 3_1_sounds.doslinebreaks.txt (73.6 KB, 1507 views)
__________________
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)
  Reply With Quote