• 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: strange behaviour in search for \n
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange behaviour in search for \n


  • Subject: Re: strange behaviour in search for \n
  • From: Simon Forster <email@hidden>
  • Date: Thu, 1 Jul 2004 13:04:31 +0100

On 1 Jul 2004, at 12:38, Nigel Smith wrote:

Probably the result of "do shell script"'s autmatic line ending conversion,
which is on by default.

Try:

set myVar to do shell script "whatever" altering line endings false

...instead.

and on 1 Jul 2004, at 12:44, Emmanuel wrote:

Charles, just in case, you are aware of the "altering line endings" option for do shell script, aren't you.

Well I wasn't. So thanks to you both for pointing this out - it'll save me some grief sooner or later!

Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
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: strange behaviour in search for \n (From: Nigel Smith <email@hidden>)

  • Prev by Date: Re: Don't waste disk space, use URL redirection services to distribute your scripts...
  • Next by Date: Sorry
  • Previous by thread: Re: strange behaviour in search for \n
  • Next by thread: Re: strange behaviour in search for \n
  • Index(es):
    • Date
    • Thread