• 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
shell script date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell script date


  • Subject: shell script date
  • From: Christian Vinaa <email@hidden>
  • Date: Thu, 24 Feb 2005 18:30:27 +0100

ok  i'll turn on the SPQX Text Clarifier & Spell Control:


venturing slowly but boldly into shell scripts....

the DATE  shell script  where the syntax is explained fx. in this webpage:

http://lists.apple.com/archives/applescript-users/2002/Mar/msg01245.html

( BTW  its amazing how changing &y to %Y can change year from 05 to 2005 )


however the month is giving me some bother !

&m  returns    02

but what is the code to ditch the front zero ?

so I get   2   stead of  02  ?

(ok, I know I can ditch it with normal applescript outside the shellscript)

--
Christian Vinaa

email@hidden

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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


  • Prev by Date: Re: to disable applescript
  • Next by Date: Re: shell script date
  • Previous by thread: Re: shell script date
  • Next by thread: Re: shell script date
  • Index(es):
    • Date
    • Thread