• 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: "Mark J. Reed" <email@hidden>
  • Date: Fri, 18 Jan 2008 06:50:28 -0500

Whoops!

Alex, my sincerest apologies.  I thought I had verified that it wasn't
echo's fault because the OP's script was output from Ruby; but it was
output from Ruby filtering input from echo!

You're absolutely right.

I still claim it's a bug, however;  "do shell script" for some reason
turns on the xpg_echo shopt option, which is not on by default in
other environments (e.g. Terminal).

The workaround is therefore to add a "shopt -u xpg; " in front of any
do shell command that relies on the output of echo coming back into AS
unmolested.

Excuse me while I go wipe the egg off my face.  And then go update my
bug report!
 _______________________________________________
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

  • Follow-Ups:
    • Re: Weird reply in Tiger vs. Leopard....is this a bug?
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: Weird reply in Tiger vs. Leopard....is this a bug? (From: Jim Skibbie <email@hidden>)
 >Re: Weird reply in Tiger vs. Leopard....is this a bug? (From: Axel Luttgens <email@hidden>)
 >Re: Weird reply in Tiger vs. Leopard....is this a bug? (From: "Mark J. Reed" <email@hidden>)
 >Re: Weird reply in Tiger vs. Leopard....is this a bug? (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Get only the name of the file, instead of the whole path!
  • Next by Date: Re: Weird reply in Tiger vs. Leopard....is this a bug?
  • Previous by thread: Re: Weird reply in Tiger vs. Leopard....is this a bug?
  • Next by thread: Re: Weird reply in Tiger vs. Leopard....is this a bug?
  • Index(es):
    • Date
    • Thread