RED(C) XENIX System V RED(C)
Name
red - Invokes a restricted version of ed(C).
Syntax
red [ file ]
Description
red is a restricted version of ed(C). It will only allow
editing of files in the current directory. It prohibits
executing sh(C) commands via the ! command. red displays an
error message on any attempt to bypass these restrictions.
In general, red does not allow commands like
!date
or
!sh
Furthermore, red will not allow pathnames in its command
line. For example, the command:
red /etc/passwd
when the current directory is not /etc causes an error.
See Also
ed(C), rsh(C)
Page 1 (printed 8/7/87)