bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: findutils 4.6.0 v. Tru64 (strftime() v. "%F"?)


From: Steven M. Schweda
Subject: Re: findutils 4.6.0 v. Tru64 (strftime() v. "%F"?)
Date: Thu, 25 May 2017 00:43:47 -0500 (CDT)

   Tru64 is not alone.  On an old HP-UX system, it's different but still
sub-ideal:

dy# findutils-4.6.0/find/find . -name fred -printf '%C+\n'
May+16:18:11.0000000000

   There, "man strftime" says:

[...]
      The following directives are provided for backward compatibility with
      the directives supported by date(1) and the ctime(3C) functions.
      These directives may be removed in a future release.  It is
      recommended that the directives above be used in preference to those
      below.
[...]
           %F        Locale's full month name (use %B instead).
[...]

   So, again, trusting the non-GNU strftime() seems unwise.

dy# uname -a
HP-UX dy B.11.11 U 9000/785 2012616114 unlimited-user license

dy# gcc -v
Using built-in specs.
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc-4.4.2/configure
Thread model: posix
gcc version 4.4.2 (GCC) 

------------------------------------------------------------------------

   Steven M. Schweda               address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]