• 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
Re: shell script with stdin from Applescript...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell script with stdin from Applescript...


  • Subject: Re: shell script with stdin from Applescript...
  • From: "Steven D. Majewski" <email@hidden>
  • Date: Wed, 2 Jul 2003 21:27:01 -0400

This works for me:

do shell script "grep e <<$
one
two
three
$"


As does this:


set w to {"one", "two", "three", "four", "five"}

set AppleScript's text item delimiters to "
"

do shell script ("grep o <<$
" & (w as text) & return & "$")
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >shell script with stdin from Applescript... (From: David Crowe <email@hidden>)

  • Prev by Date: Re: Entourage scripts works on *some* computers
  • Next by Date: Re: shell script with stdin from Applescript...
  • Previous by thread: Re: shell script with stdin from Applescript...
  • Next by thread: Re: shell script with stdin from Applescript...
  • Index(es):
    • Date
    • Thread