If you ever get a bad interpreter error while trying to run a bash script it might be because someone edited it in windows. Running dos2unix on the file might solve the problem.
Ran into this problem today, when a coworker emailed me a bunch of scripts and they would not work. They worked fine on the coworkers machine. Apparently the email went through an exchange server, which worked its magic on the scripts, rendering them incomprehensible to bash. Running dos2unix fixed the problem.
Tuesday, December 14, 2004
Mozilla and hypocrisy
Right, but what about the experiences that Mozilla chooses to default for users like switching to Yahoo and making that the default upon ...
-
I really like what Dave Winer has evolved his blog over time. Its not just written posts any more. There are now tabs for various forms of...
-
Its crazy that the stats for this blog show that there were about a 100 visitors today. I haven't posted in a long time. Blogger really...
-
via VMware blog