Module Name: src Committed By: jschauma Date: Tue Feb 14 18:26:59 UTC 2023
Modified Files: src/usr.bin/split: split.c Log Message: sort getopts string To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/split/split.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/split/split.c diff -u src/usr.bin/split/split.c:1.30 src/usr.bin/split/split.c:1.31 --- src/usr.bin/split/split.c:1.30 Sun Feb 12 20:43:21 2023 +++ src/usr.bin/split/split.c Tue Feb 14 18:26:59 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: split.c,v 1.30 2023/02/12 20:43:21 jschauma Exp $ */ +/* $NetBSD: split.c,v 1.31 2023/02/14 18:26:59 jschauma Exp $ */ /* * Copyright (c) 1987, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 19 #if 0 static char sccsid[] = "@(#)split.c 8.3 (Berkeley) 4/25/94"; #endif -__RCSID("$NetBSD: split.c,v 1.30 2023/02/12 20:43:21 jschauma Exp $"); +__RCSID("$NetBSD: split.c,v 1.31 2023/02/14 18:26:59 jschauma Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -79,7 +79,7 @@ main(int argc, char *argv[]) off_t numlines = 0; /* Line count to split on. */ off_t chunks = 0; /* Number of chunks to split into. */ - while ((ch = getopt(argc, argv, "0123456789b:l:a:n:")) != -1) + while ((ch = getopt(argc, argv, "0123456789a:b:l:n:")) != -1) switch (ch) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9':