Re: how to test if a file is more than one hour old in ksh




"Dave B" <daveb@xxxxxxxxxxxx> wrote in message news:fufrlv$19m$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Sunday 20 April 2008 18:33, Dan Mercer wrote:

Where did you read that? From the standard man page:

find [ -H | -L ] path ... [ operand_expression ... ]

find -H | -L are not standard find options - they may be Gnu find options,
but I've never seen them.
The synopsis for the standard find is

find path-name-list [expression]

Uhm, no. I copied/pasted that directly from the SUSv3 standard, so I suppose
that they *are* standard.

No, that means they are Standard (;-). Not that they are universally adopted, which find -H
isn't. HP-UX which has about a third of the market doesn't have it.
And who let that slip into the standard, anyway - two separate mechanism's for naming
options. Yuck!

Dan Mercer


--
D.

.



Relevant Pages

  • Re: Does ANSI C have something like PATHMAX or MAX_PATH?
    ... It's what the standard says they should do, ... >>14 as the size of a character array containing valid file names. ... The HP-UX documentation is irrelevant in a discussion about the C ... The HP-UX implementation has no business defining ...
    (comp.lang.c)
  • Re: Does ANSI C have something like PATHMAX or MAX_PATH?
    ... >HP-UX filesystem the application is attempting to open the file. ... name greater than 13 characters (FILENAME_MAX includes the terminating ... The standard only guarantees that *one* filename of FILENAME_MAX - 1 ... And if HP-UX doesn't impose any maximum limit (see the first sentence of ...
    (comp.lang.c)
  • Re: PPS, (PowerPoint slide) viewer on hpux
    ... > The associated project code is pretty much standard C, ... > It's HP-UX which needs special treatment. ... >> pathetic that some/many of these folks blame Microsoft for being ... The non-standard folks, plain and simple. ...
    (comp.sys.hp.hpux)
  • Re: HP-UX Command line Emulator?
    ... between Linux and HP-UX, because HP-UX conforms to formal ... standards, while Linux pretends to be a standard, ... GNU tools on HP-UX as well. ...
    (comp.sys.hp.hpux)
  • Re: how to test if a file is more than one hour old in ksh
    ... the true format is ... The synopsis for the standard find is ... Dan Mercer ...
    (comp.unix.shell)