RSS

Posts Tagged ‘interpreter’

October 12th, 2009 - 3:42 pm § in Notes

Bash, Bad Interpreter

I recently came across: /bin/bash^M: bad interpreter: No such file or directory When trying to run a bash script that someone else had edited. This most commonly happens on UNIX systems if the file has been edited on MS-DOS or Mac. The cure for this is to run a simple perl script: ?View Code BASH#![...]