[Coco] [coco] Shell Scripts
georgeramsower at gmail.com
Sun Dec 16 22:17:09 EST 2007
I've been trying to get a few OS9 commands to run in a shell script and have
found a few problems....
One problem I'm having is trying to delete a directory.. I created a
directory just for this example.
Here's the result of a simple, one line shell script which reads as
Here's the result..
Deleting directory file.
List directory, delete directory, or quit ? (l/d/q) ERROR #211
So, I tried these combinations :
deldir d /h0/test
deldir /h0/test d
Nothing worked. They all three resulted in an ERROR #211
>From a command line, it works as intended, of course. But I did have to choose the D option after starting it.
Is there a way to do this from a shell script? ((( Shell+ v2.1)))
More information about the Coco