Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/split sort getopts string



details:   https://anonhg.NetBSD.org/src/rev/facb61692db9
branches:  trunk
changeset: 373524:facb61692db9
user:      jschauma <jschauma%NetBSD.org@localhost>
date:      Tue Feb 14 18:26:59 2023 +0000

description:
sort getopts string

diffstat:

 usr.bin/split/split.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 35b548a89b21 -r facb61692db9 usr.bin/split/split.c
--- a/usr.bin/split/split.c     Tue Feb 14 18:11:55 2023 +0000
+++ b/usr.bin/split/split.c     Tue Feb 14 18:26:59 2023 +0000
@@ -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 @@
 #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 @@
        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':



Home | Main Index | Thread Index | Old Index