.pyc files...

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Mon Nov 15 17:05:49 CET 2004


On Sun, 14 Nov 2004 18:58:50 -0600, rumours say that Mike Meyer
<mwm at mired.org> might have written:

>> Minor detail: these are the GNU versions of 'find' and 'xargs' in the
>> above example; the traditional UNIX ones do not have the -print0 and -0
>> options, respectively.
>
>Hmm. My copy of the find and xargs sources which have those features
>both have University of California copyrights on them.

Most Unices are a compromise between SysV and BSD (not OpenBSD, neither
FreeBSD, mind you) targeting POSIX conformability; in my experience [0],
none of the 'find' or 'xargs' commands I've used before GNU/Linux had
the -print0, -0 options.  POSIX 'find' does not require a -print0 option
[1], neither does the POSIX 'xargs' [2] require a '-0' one.

I have no experience with OpenBSD, FreeBSD though (which I won't
categorise as 'traditional' Unices), and I can see that emacs reports
your box as berkeley unix; I don't know which flavour though.

So, "...these are the GNU versions..." could be wrong or misleading, I
agree (but I believe it's not); I think that "...the traditional Unix
ones..." is correct though.

Cheers.


[0] a little outdated for HP-UX, Solaris; very outdated for Ultrix,
SysV/68k, AIX; quite recent for Irix
[1] http://www.opengroup.org/onlinepubs/009695399/utilities/find.html
[2] http://www.opengroup.org/onlinepubs/009695399/utilities/xargs.html
-- 
TZOTZIOY, I speak England very best,
"Tssss!" --Brad Pitt as Achilles in unprecedented Ancient Greek



More information about the Python-list mailing list