Module Name: src
Committed By: rillig
Date: Sat Aug 26 11:35:57 UTC 2023
Modified Files:
src/usr.bin/error: error.1 main.c
Log Message:
error: fix typos
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/error/error.1
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/error/main.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/error/error.1
diff -u src/usr.bin/error/error.1:1.20 src/usr.bin/error/error.1:1.21
--- src/usr.bin/error/error.1:1.20 Mon Jul 3 21:34:19 2017
+++ src/usr.bin/error/error.1 Sat Aug 26 11:35:56 2023
@@ -1,4 +1,4 @@
-.\" $NetBSD: error.1,v 1.20 2017/07/03 21:34:19 wiz Exp $
+.\" $NetBSD: error.1,v 1.21 2023/08/26 11:35:56 rillig Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -60,7 +60,7 @@ Do
touch any files; all error messages are sent to the
standard output.
.It Fl p Ar filelevel
-Interpret filenumber as a level of path component names to skip,
+Interpret filelevel as a level of path component names to skip,
similar to
.Xr patch 1 .
.It Fl q
Index: src/usr.bin/error/main.c
diff -u src/usr.bin/error/main.c:1.22 src/usr.bin/error/main.c:1.23
--- src/usr.bin/error/main.c:1.22 Sun Dec 12 13:05:14 2021
+++ src/usr.bin/error/main.c Sat Aug 26 11:35:56 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.22 2021/12/12 13:05:14 andvar Exp $ */
+/* $NetBSD: main.c,v 1.23 2023/08/26 11:35:56 rillig Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: main.c,v 1.22 2021/12/12 13:05:14 andvar Exp $");
+__RCSID("$NetBSD: main.c,v 1.23 2023/08/26 11:35:56 rillig Exp $");
#endif /* not lint */
#include <signal.h>
@@ -94,7 +94,7 @@ static void usage(void) __attribute__((_
* -n: don't touch ANY files!
*
* -p: take the next argument as the number of levels to skip
- * from the filename, like perl.
+ * from the filename, like patch.
*
* -q: The user is to be queried before touching each
* file; if not specified, all files with hard, non