From owner-freebsd-doc Fri Mar 15 18:10:15 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 28B7A37B41B for ; Fri, 15 Mar 2002 18:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2G2A1L95790; Fri, 15 Mar 2002 18:10:01 -0800 (PST) (envelope-from gnats) Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id A032B37B42F for ; Fri, 15 Mar 2002 18:08:10 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 6592EBE6C for ; Fri, 15 Mar 2002 18:08:10 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id SAA13969 for ; Fri, 15 Mar 2002 18:08:09 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g2G2AsK65859; Fri, 15 Mar 2002 18:10:54 -0800 (PST) (envelope-from swear@blarg.net) Message-Id: <19zo19clea.o19@localhost.localdomain> Date: 15 Mar 2002 18:10:53 -0800 From: "Gary W. Swearingen" Reply-To: swear@blarg.net To: FreeBSD-gnats-submit@freebsd.org Subject: docs/35940: red(1) manual doesn't explain red(1). Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35940 >Category: docs >Synopsis: red(1) manual doesn't explain red(1). >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 15 18:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 4.5-STABLE i386 >Organization: none >Environment: n/a ================ >Description: The red(1) manual doesn't mention the command outside the "Name" section. ================ >How-To-Repeat: n/a ================ >Fix: At the end of the "Synopsis" section, add: '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". That should be improved, but I don't understand the relevant code, mostly at the bottom of "/usr/src/bin/ed/main.c". >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message