• 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: Big bug in shell scripting in Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Big bug in shell scripting in Applescript


  • Subject: Re: Big bug in shell scripting in Applescript
  • From: Axel Luttgens <email@hidden>
  • Date: Fri, 05 Aug 2011 23:34:03 +0200

Le 5 août 2011 à 17:29, Zavatone, Alex a écrit :

> Axel, what is does is add a \n every time it is called.  Not to each line, but only to the last line.
>
> Did you run the script that I pasted which shows this?

Yes, and that's why I started with a very simplified version of it: your script was way too complicated and just obfuscated the basic behaviors.

That said, you have made me notice that I forgot to add a note related to the "here strings" as implemented by bash.
But Mark already did it (and provided the rationale as well): the "<<<word" construct adds a newline to "word" after expansion.

So, unless I've forgotten something else (who knows?), one should now have all relevant info for correctly interpreting the results you have submitted.

HTH,
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

  • Follow-Ups:
    • Re: Big bug in shell scripting in Applescript
      • From: "Zavatone, Alex" <email@hidden>
References: 
 >Big bug in shell scripting in Applescript (From: "Zavatone, Alex" <email@hidden>)
 >Re: Big bug in shell scripting in Applescript (From: Axel Luttgens <email@hidden>)
 >Re: Big bug in shell scripting in Applescript (From: "Zavatone, Alex" <email@hidden>)

  • Prev by Date: Re: Plain text editor
  • Next by Date: Re: Big bug in shell scripting in Applescript
  • Previous by thread: Re: Big bug in shell scripting in Applescript
  • Next by thread: Re: Big bug in shell scripting in Applescript
  • Index(es):
    • Date
    • Thread