Paul Eggert <[EMAIL PROTECTED]> wrote: > How about this patch instead? It fixes a couple of minor > POSIX-compliance bugs in split, while I was in the neighborhood. > > 2003-08-07 Paul Eggert <[EMAIL PROTECTED]> > > * doc/coreutils.texi (split invocation): > Add -d or --numeric-suffixes option to 'split'. > From a suggestion by Jesse Kornblum. > * src/split.c (suffix_alphabet): New var. > (longopts, usage, next_file_name, main): Support -d. > (next_file_name, main): Allow -a0, as POSIX requires. > (next_file_name): Don't assume ASCII-like encoding; > 'a' through 'z' are not contiguous in EBCDIC.
Thanks! I've applied that. However, I have my doubts about allowing -a0. Do you see any practical value in that? It makes split degenerate to `cp', but with the limitation that it fails if there is too much input. Hmm... when now that I've written the preceding sentence, I *can* imagine a use for it :-) I've fixed the test (tests/misc/split-fail), too. _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
