|
From: | Bob Proulx |
Subject: | Re: FYI: wc accepts a new option --files0-from=FILE, ... |
Date: | Mon, 26 Jun 2006 09:26:11 -0600 |
User-agent: | Mutt/1.5.9i |
Jim Meyering wrote: > The description of wc's --files0-from is nearly identical > to that of du. I've added an example: > ... > address@hidden > +find . -name '*.[ch]' -print0 | ./wc -L --files=- | tail -n1 > address@hidden example Here you are using the substring abbreviation --files for --files0-from. Which is fine. But what if someday the --files-from option is added? My preference would be to make the example be unique in that case too and to use at least --files0=- there. Actually when I read the example I expected to see it be using a non-null terminated files from option. I had to go look at the code to verify that it did no exist to know for sure that it was using the substring abbreviation for the --files0 flavor. Bob
[Prev in Thread] | Current Thread | [Next in Thread] |