Module Name: src
Committed By: rillig
Date: Wed Jan 25 19:52:14 UTC 2023
Modified Files:
src/usr.bin/shar: shar.1
Log Message:
shar.1: remove false security claim
It's easy to embed arbitrary shell code in a line starting with 'X',
which the suggested egrep command would fail to detect.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/shar/shar.1
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/shar/shar.1
diff -u src/usr.bin/shar/shar.1:1.13 src/usr.bin/shar/shar.1:1.14
--- src/usr.bin/shar/shar.1:1.13 Mon Jul 3 21:34:21 2017
+++ src/usr.bin/shar/shar.1 Wed Jan 25 19:52:14 2023
@@ -1,4 +1,4 @@
-.\" $NetBSD: shar.1,v 1.13 2017/07/03 21:34:21 wiz Exp $
+.\" $NetBSD: shar.1,v 1.14 2023/01/25 19:52:14 rillig Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)shar.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd June 6, 1993
+.Dd January 25, 2023
.Dt SHAR 1
.Os
.Sh NAME
@@ -93,9 +93,3 @@ files.
It is strongly recommended that all shell archive files be examined
before running them through
.Xr sh 1 .
-Archives produced using this implementation of
-.Nm
-may be easily examined with the command:
-.Bd -literal -offset indent
-egrep -v '^[X#]' shar.file
-.Ed