Greg Minshall wrote:
>> Slightly off-topic and moderately unpopular: find(1) doesn't quite well
>> fit into the Unix userland.  It starts with the syntax: multiletter
>> options (POSIX calls them operands though), the $program $option(s)
>> $file(s) order (compare the find's "do where what" vs natural -- like
>> sed's or grep's -- "do what where"), and the overall purpose of the
>> utility: it should construct a list of files/directories and match the
>> given pattern.
>
> fwiw, the standards such as long options starting with "--", etc., came
> out many years after 'find' (or, 'dd', for that matter) were released.
Yes, sir, and I think it was GNU who came up with this (see getopt(3) of
glibc).  Guideline 10 of the Utility Conventions[0] states that "--"
marks the end of options.

[0]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html
-- 
caóc

Reply via email to