Porting shell script to AS
Porting shell script to AS
- Subject: Porting shell script to AS
- From: Philip Stripling <email@hidden>
- Date: Thu, 14 Dec 2000 11:00:06 -0800 (PST)
I have a client who is switching from a UN*X type environment to Macs, and
he has asked me to port this shell script to AS. It is of the utmost
importance that the AppleScript run correctly, so any and all help greatly
appreciated.
Here's the shell script:
better !pout !cry
better watchout
lpr why
santa claus <north pole >town
cat /etc/passwd >list
ncheck list
ncheck list
cat list | grep naughty >nogiftlist
cat list | grep nice >giftlist
santa claus <north pole > town
who | grep sleeping
who | grep awake
who | egrep 'bad|good'
for (goodness sake) {
be good
}
Thanks in advance,
Phil