|
|
A script to manage system-wide services
If you just download the file from the link, it appears that it has Mac line endings (\r), which will screw with bash. You need to replace them with \n somehow, such as by
perl -pi -e 's/\r/\n/;' nss or with an editor like jEdit or (I believe) BBEdit.
A script to manage system-wide services
I selected all of the text, did a Copy, then in terminal I did a 'pico -w' and pasted it in, and it worked fine.
A script to manage system-wide services
Same here. Saving it as a text file using TextEdit and then opening the file using pico or vi seems to cause the problem. A direct paste into pico or vi works fine.
A script to manage system-wide services
You have to use backslash to escape the r and the n or else |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|