• 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: UNIX DATE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UNIX DATE


  • Subject: Re: UNIX DATE
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 26 Apr 2004 07:44:40 -0700

On 4/26/04 2:53 AM, "Nigel Garvey" <email@hidden>
wrote:

>>
>> Which OS? When you check 'man strftime' in Terminal, there's no "%F" listed?
>
> Hi, Paul.
>
> As you guessed later in your post, I have Jaguar. I typed 'man strftime'
> into the Terminal window and the reply was 'No manual entry for
> strftime'. This reminded me of a discussion last year on
> Macscripter.net's Code Exchange, which I've just look up. (It was exactly
> a year ago today, as it happens.) Someone else had mentioned the '%F'
> parameter, I'd pointed out that it just produced 'F', he'd mentioned 'man
> strftime', I'd reported 'no manual entry'. Greg Spence then explained:
>
> "NIgel, 'strftime' is in man3 which is not formatted by default to save
> space. There are 9 man files in /usr/share/man/ In order to use the other
> man files, you'll need to format them by using the 'catman' command...
>
> % cd /usr/share/man/
> % sudo catman 3"
>
> I didn't bother to check it out, as it sounded like even more junk on my
> hard drive and the only advantage was the ability to write slower scripts
> that only ran on certain systems and were only legible if you were into
> '%' symbols. I subsequently forgot about it.
>
> Perhaps man3 comes preformatted in Pather.

I'm pretty sure it came pre-formatted in Jaguar for me too. I was able to
get 'man strftime' when I was in Jaguar - even in OS 10.1, as I recall. I
first played around with these Unix date shell script commands in OS 10.1
when I could no longer use Akua Sweets as I had been doing in OS 8/9. I
never had to use the 'catman' command, let alone a sudo that I can recall -
I don't remember this discussion, but I did have 'man strftime'. (Very
possibly I did not have "%F" back then - but I really don't remember.) I
have been doing the full, complete, all-options OS X install from the
beginning, however. Maybe I "expanded" man3 very early on in a beta OS or
something, but I don't recall doing so now. Interesting.

--
Paul Berkowitz

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: UNIX DATE (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: do shell script FREEZES Finder!!
  • Next by Date: Re: do shell script FREEZES Finder!!
  • Previous by thread: Re: UNIX DATE
  • Next by thread: Coercing from alias to original
  • Index(es):
    • Date
    • Thread