If I execute from within ksh a file with shabang: #!/bin/sh, it will
use the Bourne shell. With #!/bin/bash, it will use bash, and so on
using:

./script.sh

I tried from within fish:

. ./script.sh   # . - evaluate contents of file.

with shabang #!/bin/ksh

and got a train load of errors because it (i.e., the fish shell) tried
to "evaluate contents of file" as a fish shell script (ignoring the
shabang: #!/bin/ksh).

---John

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to