• 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: Extract from result of current date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extract from result of current date


  • Subject: Re: Extract from result of current date
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 4 Nov 2005 11:02:46 -0700

On Nov 4, 2005, at 10:55 AM, Mark J. Reed wrote:

But why, when "time string of (current date)" is so much more
readable and understandable?

Any number of reasons, starting with "I've written shell scripts before and that's what comes naturally." But also, date +"format" gives you precise control over what you get back, whereas "time string of" is subject to the whims of the International system preferences panel. So there are times when the less obvious solution is nevertheless the more appropriate one for the task at hand.

Makes sense. I rarely write scripts for anyone other than myself, so that is not an issue for me, so it never occurred to me.


I'm truly puzzled why people would use "do shell script" when vanilla
Applescript can handle the job.

Hey, "do shell script" *is* vanilla AppleScript. No OSAX required. :)

Actually, it's part of an OSAX (standard additions) ;). But the shell script itself isn't.


Man, that Goldwater, such a left-wing looney. ;-) May I assume from the 205-year figure that the statement was made in 1981?

You may; I do.

-- Michelle

--
"Where is the wisdom we have lost in knowledge?
 Where is the knowledge we have lost in information?
 Where is the information we have lost in data?"

T.S. Eliot (1915)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Extract from result of current date
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Extract from result of current date (From: Peter Mathiessen <email@hidden>)
 >Re: Extract from result of current date (From: Rob Stott <email@hidden>)
 >Re: Extract from result of current date (From: Michelle Steiner <email@hidden>)
 >Re: Extract from result of current date (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Extract from result of current date
  • Next by Date: Re: Extract from result of current date
  • Previous by thread: Re: Extract from result of current date
  • Next by thread: Re: Extract from result of current date
  • Index(es):
    • Date
    • Thread