Date: Sat, 16 Mar 2002 14:40:03 -0800 (PST) From: Giorgos Keramidas <keramida@freebsd.org> To: freebsd-doc@freebsd.org Subject: Re: docs/35940: red(1) manual doesn't explain red(1). Message-ID: <200203162240.g2GMe3s78712@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/35940; it has been noted by GNATS.
From: Giorgos Keramidas <keramida@freebsd.org>
To: "Gary W. Swearingen" <swear@blarg.net>
Cc: bug-followup@freebsd.org
Subject: Re: docs/35940: red(1) manual doesn't explain red(1).
Date: Sat, 16 Mar 2002 18:28:37 +0200
On 2002-03-15 18:10, Gary W. Swearingen wrote:
>
> 'red' is the same as 'ed' except that it prohibits the use of
> certain kinds of 'file' argument values, including those that
> would cause 'ed' to execute a shell command and those that
> contain a '/'. Consider it to be "restricted ed".
How does this look? Mind you, the text was already there.
I just uncommented it and made minor markup changes.
Index: ed.1
===================================================================
RCS file: /home/ncvs/src/bin/ed/ed.1,v
retrieving revision 1.29
diff -2 -u -r1.29 ed.1
--- ed.1 10 Aug 2001 17:35:07 -0000 1.29
+++ ed.1 16 Mar 2002 16:25:22 -0000
@@ -13,6 +13,4 @@
.Op Fl p Ar string
.Op Ar file
-.\" .LP
-.\" red [-] [-sx] [-p \fIstring\fR] [\fIfile\fR]
.Sh DESCRIPTION
.Nm Ed
@@ -20,9 +18,11 @@
It is used to create, display, modify and otherwise manipulate text
files.
-.\" .B red
-.\" is a restricted
-.\" .BR ed :
-.\" it can only edit files in the current
-.\" directory and cannot execute shell commands.
+.Pp
+If invoked as
+.Nm red ,
+then
+.Nm
+can only edit files in the current directory
+and cannot execute shell commands.
.Pp
If invoked with a
Giorgos Keramidas FreeBSD Documentation Project
keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203162240.g2GMe3s78712>
