Module Name:    src
Committed By:   gutteridge
Date:           Wed Feb 19 17:34:14 UTC 2025

Modified Files:
        src/usr.bin/cut: cut.c x_cut.c

Log Message:
cut(1): correct some comments


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/cut/cut.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/cut/x_cut.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/cut/cut.c
diff -u src/usr.bin/cut/cut.c:1.29 src/usr.bin/cut/cut.c:1.30
--- src/usr.bin/cut/cut.c:1.29	Mon Feb  3 20:22:19 2014
+++ src/usr.bin/cut/cut.c	Wed Feb 19 17:34:14 2025
@@ -1,4 +1,4 @@
-/*	$NetBSD: cut.c,v 1.29 2014/02/03 20:22:19 wiz Exp $	*/
+/*	$NetBSD: cut.c,v 1.30 2025/02/19 17:34:14 gutteridge Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19
 #if 0
 static char sccsid[] = "@(#)cut.c	8.3 (Berkeley) 5/4/95";
 #endif
-__RCSID("$NetBSD: cut.c,v 1.29 2014/02/03 20:22:19 wiz Exp $");
+__RCSID("$NetBSD: cut.c,v 1.30 2025/02/19 17:34:14 gutteridge Exp $");
 #endif /* not lint */
 
 #include <ctype.h>
@@ -295,12 +295,12 @@ usage(void)
 	exit(1);
 }
 
-/* make b_put(): */
+/* make b_cut(): */
 #define CUT_BYTE 1
 #include "x_cut.c"
 #undef CUT_BYTE
 
-/* make c_put(): */
+/* make c_cut(): */
 #define CUT_BYTE 0
 #include "x_cut.c"
 #undef CUT_BYTE

Index: src/usr.bin/cut/x_cut.c
diff -u src/usr.bin/cut/x_cut.c:1.2 src/usr.bin/cut/x_cut.c:1.3
--- src/usr.bin/cut/x_cut.c:1.2	Mon Jul  2 18:41:04 2007
+++ src/usr.bin/cut/x_cut.c	Wed Feb 19 17:34:14 2025
@@ -1,4 +1,4 @@
-/*	$NetBSD: x_cut.c,v 1.2 2007/07/02 18:41:04 christos Exp $	*/
+/*	$NetBSD: x_cut.c,v 1.3 2025/02/19 17:34:14 gutteridge Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -37,8 +37,8 @@
  *  single- and multibyte versions of the same code.
  *
  *  In cut.c #define:
- *   CUT_BYTE=0 to define b_cut (singlebyte), and
- *   CUT_BYTE=1 to define c_cut (multibyte).
+ *   CUT_BYTE=1 to define b_cut (singlebyte), and
+ *   CUT_BYTE=0 to define c_cut (multibyte).
  *
  */
 

Reply via email to