Tuesday, December 14, 2004

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.

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 ...