[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: du, wc --files-from roundup
From: |
Jim Meyering |
Subject: |
Re: du, wc --files-from roundup |
Date: |
Sun, 16 Nov 2003 09:45:42 +0100 |
Paul Eggert <address@hidden> wrote:
...
> 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.
I proposed that too, but admitted I didn't like it.
> 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.
I think --files0-from is better, too.
Thanks!