smbtar and ksh vs sh

Richard Sharpe sharpe at
Sun Jan 10 01:11:08 GMT 1999

I have discovered that under Digital UNIX, and maybe even HPUX, the default
shell does not support getopts very well.

I have a small script that can check this out.

However, I think that it would be best to change smbtar from using sh to ksh.

Does anyone think this would break any systems?

An alternative would be to change the first line of smbtar depending on
what system it is being installed on.

Richard Sharpe, sharpe at, NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Samba, Linux, Apache, Digital UNIX, AIX, Netscape, Stronghold, C, ...

More information about the samba-technical mailing list