[Coco] Nitors9 Shell+ scripting

Gene Heskett gene.heskett at verizon.net
Sun Aug 5 09:05:14 EDT 2007


On Sunday 05 August 2007, Paul Fitch wrote:
>I'm looking for a primer on shell+ scripting.
>
>In my startup file there is the following code:
>-x
>chd /dd
>x
>
>My shell+ help doesn't mention the "x" at all.  What does it do?

I believe, and someone please correct me if I'm wrong, that the -x turns off 
the shells error exit so the script, which the startup file is, does not exit 
if the command fails, in this case the "chd /dd".  Conversely, the single x 
turns it back on.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
"You must have an IQ of at least half a million."  -- Popeye



More information about the Coco mailing list