Re: strange behaviour in search for \n
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.