• 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: Antonio Guerrieri <email@hidden>
  • Date: Wed, 29 May 2002 15:58:19 +0200

Hi Chris,
good news!
I tried to install OSX 10.1.4 but nothing has changed. Before installing I have checked the version of as and it seemed to be 1.8.2b1
Then I have compared my StandardAdditions.osax with the one installed on a "working" machine using an 1.8.1 version. I have downgraded and everything works well.
I'm downloading now the 1.8.2b3 version for testing.
Thank you.
Antonio

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.
_______________________________________________
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.

References: 
 >Re: \n appended (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Script server as faceless background application?
  • Next by Date: Re: Delete without Dialog in OS X?
  • Previous by thread: Re: \n appended
  • Next by thread: Importing pictures in QuarkXPress
  • Index(es):
    • Date
    • Thread