On Tue, Mar 30, 2010 at 22:26, Isaac Dupree <[email protected]> wrote: > > On 03/30/10 15:14, David Frascone wrote: > > I had to quit using fish, due to constant script incompatibilities. I guess > > some script authors are too lazy to add hash-bang-bash to the top of their > > scripts . . . > > what? -- script files don't run unless you start the file with > #!/bin/bash (or similar), or unless you invoke them as 'bash > the_script_file' > The bourne shell predates Unix kernel's #! functionality, so it has a built-in feature to interpret as a shell script any executable file that the kernel refuses to exec.
This was nice in its time (and probably inspired the #! feature), but unfortunately it's still supported for backwards compatibility by modern shells (e.g. bash), resulting in clueless people writing scripts without #! and never suspecting they are non-portable... -- Beni Cherniavsky-Paskin <[email protected]> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
