[Coco] [coco] Shell Scripts

tim lindner tlindner at macmess.org
Mon Dec 17 10:40:00 EST 2007


George Ramsower <georgeramsower at gmail.com> wrote:

> Is there a way to do this from a shell script? ((( Shell+ v2.1)))

Yes.

deldir /h0/test
d


Notice the single d on the second line. The DELDIR command will inherit
the standard input (ie the script file) from the shell executing it. So
the DELDIR command will recieve the 'd' and continue with it's
operation.

-- 
tim lindner
tlindner at macmess.org                                              Bright



More information about the Coco mailing list