Re: find und SUS

From: Manfred Lotz <sanskrit(at)arcor.de>
Date: Thu, 22 May 2008 16:12:41 +0200

Nicolas Rachinsky wrote:
> Hallo,
>
> die FreeBSD man-page von find sagt:
> -atime n[smhdw]
> If no units are specified, this primary evaluates to true if the
> difference between the file last access time and the time find
> was started, rounded up to the next full 24-hour period, is n
> 24-hour periods.
> ...
> The find utility syntax is a superset of the syntax specified by the IEEE
> Std 1003.1-2001 (``POSIX.1'') standard.
>
>
>
> IEEE Std 1003.1 (http://www.opengroup.org/onlinepubs/009695399/utilities/find.html)
> sagt:
> | -atime n
> | The primary shall evaluate as true if the file access time subtracted
> | from the initialization time, divided by 86400 (with any remainder
> | discarded), is n.
>
> Das ist eine Abrundung, also genau in die andere Richtung wie bei
> FreeBSD. Oder überseh ich was?
>

Da ist aber kein Widerspruch. Es heisst nur, dass die Syntax
(also -atime n[smhdw]) ein Superset der IEEE Syntax ist. Es wird nichts
über den Inhalt gesagt.

Ja, bei IEEE eine Abrundung und bei FreeBSD eine Aufrundung.

-- 
Manfred
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 22 May 2008 - 16:51:17 CEST

search this site