On Tuesday 04 February 2003 13:26, Sam Halliday wrote: > > bsetbg should be a POSIX shell compliant script > > and run fine under /bin/sh. If it doesn't, post > > the error so we can debug it. > > sorry, didnt realise you were going for POSIX there... > how silly of me and my little bashy world :D >
yes, POSIX is preferred. > the error is: > "./bsetbg: bad substitution" > > no error line or anything :-/ > > by inserting debugging output in the script i narrowed > the problem line down to > > me=${0##*/} > > (line 64) > how odd. All of the shells that act like bourne (posix) shells I have access to accept this notation. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]