• 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: Weird reply in Tiger vs. Leopard....is this a bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: set oldDelims to AppleScript's text item delimiters
  • Next by Date: Colloquy
  • Previous by thread: Re: Weird reply in Tiger vs. Leopard....is this a bug?
  • Next by thread: make new folder ?
  • Index(es):
    • Date
    • Thread