[EMAIL PROTECTED] (Paul Jarc) writes:

> Jim Meyering <[EMAIL PROTECTED]> 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.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to