scripting problem

Jeremy C. Reed reed at reedmedia.net
Fri Feb 16 15:12:00 MST 2007


> > Mine doesn't have $? at all when invoked as /bin/sh.

/bin/sh must have $? (or your system wouldn't work :)

Or do you mean its value was 0 (zero)?

> Sorry about that, I was a bit too quick composing. $? is the return code, I
> meant to type $#, which is the number of arguments.

  Jeremy C. Reed


More information about the PLUG-discuss mailing list