Re: Magic Shebang not cross platform compatible?

2003-10-04 Thread Bob Proulx
[EMAIL PROTECTED] wrote: I've found that if bash scripts (or python and probably many more) use the magic shebang trick as in the following example: #!/usr/bin/env sh I believe the above is just an example? Surely for sh it would be #!/bin/sh, right? You only need the #!/usr/bin/env when

Magic Shebang not cross platform compatible?

2003-10-02 Thread jflorian
I've found that if bash scripts (or python and probably many more) use the magic shebang trick as in the following example: #!/usr/bin/env sh and the file is written in DOS format with CR/LF endings such is as very common with bash scripts under Cygwin or Python scripts that originated from