Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/cut - remove trailing white space;
details: https://anonhg.NetBSD.org/src/rev/3b02331d8bf8
branches: trunk
changeset: 779819:3b02331d8bf8
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Jun 20 17:53:39 2012 +0000
description:
- remove trailing white space;
- synchronize argument name to `-d' in `usage' line with man page.
>From Bug Hunting.
diffstat:
usr.bin/cut/cut.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 5db62b6d8a24 -r 3b02331d8bf8 usr.bin/cut/cut.c
--- a/usr.bin/cut/cut.c Wed Jun 20 17:53:19 2012 +0000
+++ b/usr.bin/cut/cut.c Wed Jun 20 17:53:39 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cut.c,v 1.27 2012/06/09 19:22:47 wiz Exp $ */
+/* $NetBSD: cut.c,v 1.28 2012/06/20 17:53:39 wiz Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)cut.c 8.3 (Berkeley) 5/4/95";
#endif
-__RCSID("$NetBSD: cut.c,v 1.27 2012/06/09 19:22:47 wiz Exp $");
+__RCSID("$NetBSD: cut.c,v 1.28 2012/06/20 17:53:39 wiz Exp $");
#endif /* not lint */
#include <ctype.h>
@@ -83,7 +83,7 @@
dchar = '\t'; /* default delimiter is \t */
- /* Since we don't support multi-byte characters, the -c and -b
+ /* Since we don't support multi-byte characters, the -c and -b
options are equivalent, and the -n option is meaningless. */
while ((ch = getopt(argc, argv, "b:c:d:f:sn")) != -1)
switch(ch) {
@@ -287,12 +287,12 @@
{
(void)fprintf(stderr, "usage:\tcut -b list [-n] [file ...]\n"
"\tcut -c list [file ...]\n"
- "\tcut -f list [-d delim] [-s] [file ...]\n");
+ "\tcut -f list [-d string] [-s] [file ...]\n");
exit(1);
}
/* make b_put(): */
-#define CUT_BYTE 1
+#define CUT_BYTE 1
#include "x_cut.c"
#undef CUT_BYTE
Home |
Main Index |
Thread Index |
Old Index