| Article: |
Learning the Mac OS X Terminal: Part 1 | |
| Subject: | Perl Scripts | |
| Date: | 2006-01-09 14:38:01 | |
| From: | Cruzapete | |
|
I dont know if this is too late that it wont be answered. I will so much appreciate it if it can be treated and my problem solved.
|
||
Showing messages 1 through 1 of 1.
-
Perl Scripts
2006-11-29 09:39:26 tcomputerchip [View]
you are probably using hard coded things that wont work on the mac. Things like "C:\windows\notepad.exe" would not work on OSX, but more specific you may have a problem with the slashes and carriage returns. When comming from windows, text files have a CT LF (Ctrl+Line Feed) OSX uses many forms of this, if you open the file with vi or pico, you would see something like ^M (this means that the OS can't read the meta character in that location, but the meta character is still in the file.) You can do a simple perl script on the Mac that searches for the meta character and replaces it with the proper "OSX" carriage returns.


