bug-coreutils
[Top][All Lists]
Advanced

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

Re: du, wc --files-from roundup


From: Paul Eggert
Subject: Re: du, wc --files-from roundup
Date: 16 Nov 2003 00:24:14 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

address@hidden (Paul Jarc) writes:

> Jim Meyering <address@hidden> wrote:
> > And I'm still reluctant to allow --files-from without --null.
> 
> What about --files-from0, or some such, so that the difference between
> it and --files-from in other tools is apparent?

Since "--files-from" is a prefix of "--files-from0", getopt would
recognize "--files-from" as an alias for "--files-from0".  That's
confusing.

One workaround for this problem would be to add --files-from as a
separate (undocumented) option that always reports an error.

Another possibility is to require that --null also be specified if
--files-from is specified.

Another thought: perhaps "--files0-from" would be a better name for
the combined option?  After all, the NULs immediately follow the file
names, not the place where the file names come from.




reply via email to

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