Re: Weird reply in Tiger vs. Leopard....is this a bug?
Re: Weird reply in Tiger vs. Leopard....is this a bug?
- Subject: Re: Weird reply in Tiger vs. Leopard....is this a bug?
- From: Jim Skibbie <email@hidden>
- Date: Fri, 18 Jan 2008 12:42:53 -0600
- Thread-topic: Weird reply in Tiger vs. Leopard....is this a bug?
Title: Re: Weird reply in Tiger vs. Leopard....is this a bug?
Axel-
Thanks for your help on this. You rock! I’m a newbie to the whole Applescript thing and totally new to the UNIX environment, so your help is much appreciated.
Jim
I'm not sure one could really speak about a bug.
On leopard, you can get Tiger's behavior back with:
set arg to do shell script "shopt -u xpg_echo; echo " & quoted form
of arg & " | ruby -p -e '$_.strip!'"
Remember that "do shell script" runs "sh", not "bash" (even if the
former is emulated by the latter); it's interesting to run:
do shell script "set"
and to notice, for example, "POSIXLY_CORRECT=y" in the output.
I guess that, given the trends towards POSIX compliance, your bug report
will be closed as "works as intended" even if, of course, such changes
may sometimes lead to painful unsuspected results...
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden