[Techtalk] bash and sh

MMP - Barb Fox mmp_fox at bellsouth.net
Fri May 6 22:26:25 EST 2005


ksh is sh-compatible. The first line of the script file is referred to as a
"sh-bang," but it doesn't have to be #!/bin/sh. It is to be WHATEVER
program should be used to interpret this script. So, if you knew you
were using csh syntax, make the first line:
#!/bin/csh   or whereever your csh is located.

Barb Fox



>I agree almost completely, except I think that ksh is also sh-compatible.
>
>greets,
>Wim
>_______________________________________________
>Techtalk mailing list
>Techtalk at linuxchix.org
>http://linuxchix.org/cgi-bin/mailman/listinfo/techtalk



More information about the Techtalk mailing list