>From: Gleydson Mazioli da Silva <[EMAIL PROTECTED]>

>> #!/bin/bash
>> 
>> in the first line. There is no /bin/bash on UNIX, you should
>> use /bin/sh. I am sure that ther is no need to use bash nonstandard
>> shell extensions in your shell sript.

>I've made tests with csh but some internal functions that cdcontrol uses
>don't exist on it :-(

PLEASE don't ever use csh for shell scripts! It is not designed to be used for
scripts and it opens big security holes if you use it for scripting.

>The BSD default is sl linked to csh, and the cdcontrol was broken :-(

/bin/sh is not allowed to be linked to csh.

I am sure it is not linked this way on *BSD

Done on FreeBSD:

> ls -l /bin/sh
-r-xr-xr-x  1 root  wheel  616160 Jun 15 15:08 /bin/sh

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to