Re: shell script with stdin from Applescript...
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.