• 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: \n appended
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \n appended


  • Subject: Re: \n appended
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 28 May 2002 13:52:09 -0700

On Tuesday, May 28, 2002, at 10:09 AM, Antonio Guerrieri wrote:

I'm using eudora scripts for gpg (thanks to Richard Chang) but when I use a "do shell script" command
I find a "\n" character at the end of the result.
e.g.
set mypath to (do shell script "cd ~; pwd")
returns "/var/root\n" in mypath var.
The same thing doesn't happen on other computer.

My conf
OSX 10.1.4

Sounds like the offending machine has a copy of AppleScript 1.8.2b1 installed on it, or rather the accompanying Standard Additions file. Strictly speaking, the behavior you're seeing is correct, but it contradicted what had already shipped and broke people's scripts, so we restored the old behavior in b2. I'm not sure how you got it, though, if you only have a stock 10.1.4 install...


--Chris Nebel
AppleScript Engineering
_______________________________________________
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.

  • Follow-Ups:
    • Re: \n appended
      • From: Antonio Guerrieri <email@hidden>
References: 
 >\n appended (From: Antonio Guerrieri <email@hidden>)

  • Prev by Date: 24U has released 24U Appearance OSAX 2.0 for Mac OS X
  • Next by Date: Re: AppleScript gets incorrect file name - OSX
  • Previous by thread: \n appended
  • Next by thread: Re: \n appended
  • Index(es):
    • Date
    • Thread