|
|
Newbie script problem
I'm sure this will be obvious to the non-newbies out there, but I can't figure out what I'm doing wrong here. Here's what I did:
Newbie script problem
Wherever you saved the file to (your home directory, apparently) isn't in your PATH. Thus, you must move it to a directory in your PATH variable, or use explicit paths when running the app. eg:
Newbie script problem
Should have mentioned that I did try to use the absolute path. So trying it as /Users/ceevee/getweatherscript gives the same "command not found" error. I tried making a bin subdir in my user folder; still doesn't work... and /Users/ceevee/bin seems to be in my PATH. If I do "echo $PATH" it shows me /Users/ceevee/bin as one of the paths.
Newbie script problem
I had the same problem. The script isn't working for me.
Newbie script problem
OK, sorry for these messages but I did finally figure it out myself. When I saved the files out of BBEdit I didn't check the line ending style used. Using Mac line endings does NOT work. I changed to Unix line breaks and the scripts work fine now. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks 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.09 seconds |
|