• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Porting shell script to AS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Porting shell script to AS
      • From: Ted Wood <email@hidden>
    • Newbie Progress Bar
      • From: Chad Gray <email@hidden>
  • Prev by Date: Re: scripting Photoshop
  • Next by Date: With timeout of
  • Previous by thread: OT: Activer Server Pages using AS
  • Next by thread: Newbie Progress Bar
  • Index(es):
    • Date
    • Thread