Re: finding newest file in a folder
Re: finding newest file in a folder
- Subject: Re: finding newest file in a folder
- From: Christopher Nebel <email@hidden>
- Date: Tue, 16 Mar 2004 10:27:43 -0800
On Mar 15, 2004, at 5:24 PM, Andrew Oliver wrote:
On 3/15/04 5:04 PM, "Christopher Nebel" <email@hidden> wrote:
Piping through head(1) had occurred to me, but I suppressed the idea
because I don't like the way "do shell script" mangles line endings
for you.
And the 'altering line endings' option for 'do shell script' doesn't
do it
for you either, Chris?
do shell script string -- the command or shell script to execute.
Examples are ls or /bin/ps -auxwww
...
[altering line endings boolean] -- change all line endings to
Mac-style and trim a trailing one (default true)
It's not that there's no adequate solution, it's a bit of personal
brain damage. I remember thinking that "paragraph 1" would be
necessary to get rid of the trailing line-feed, forgetting that the
default behavior is to remove it.
--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.