getopt sync from gnulib

2004-08-19 Thread Paul Eggert
I installed this to sync the 'getopt' module from gnulib. The biggest change is that lib/getopt.h got renamed to lib/getopt_.h, so that the system is used if it suffices. Index: lib/ChangeLog === RCS file: /home/eggert/coreutils/cu/l

Re: userspec fixes for coreutils (e.g., "chown 010 file")

2004-08-19 Thread Paul Eggert
"Dmitry V. Levin" <[EMAIL PROTECTED]> writes: > $ chown "`id -u`.`id -g`" . > chown: `567.567': invalid user > $ chown "`id -un`.`id -gn`" . > chown: `me.me': invalid user > > Proposed fix along with new testcase is attached. Thanks for finding that. While looking at your patch, I noticed a simi

Re: POSIX misunderstanding

2004-08-19 Thread Paul Eggert
Albert Cahalan <[EMAIL PROTECTED]> writes: >> Guideline 3 says "Multi-digit options should not be allowed." >> That's an explicit prohibition. > > I meant, where is --lines allowed, It's a different syntax, that is not addressed by the guidelines. > "Each option name should be a single alphanume