Blob Blame History Raw
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.1.
.TH ED "1" "February 2017" "ed 1.14.2" "User Commands"
.SH NAME
ed \- line-oriented text editor
.SH SYNOPSIS
.B ed
[\fI\,options\/\fR] [\fI\,file\/\fR]
.SH DESCRIPTION
GNU Ed \- The GNU line editor.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
display this help and exit
.TP
\fB\-V\fR, \fB\-\-version\fR
output version information and exit
.TP
\fB\-G\fR, \fB\-\-traditional\fR
run in compatibility mode
.TP
\fB\-l\fR, \fB\-\-loose\-exit\-status\fR
exit with 0 status even if a command fails
.TP
\fB\-p\fR, \fB\-\-prompt\fR=\fI\,STRING\/\fR
use STRING as an interactive prompt
.TP
\fB\-r\fR, \fB\-\-restricted\fR
run in restricted mode
.TP
\fB\-s\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
suppress diagnostics, byte counts and '!' prompt
.TP
\fB\-v\fR, \fB\-\-verbose\fR
be verbose; equivalent to the 'H' command
.PP
Start edit by reading in 'file' if given.
If 'file' begins with a '!', read output of shell command.
.PP
Exit status: 0 for a normal exit, 1 for environmental problems (file
not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or
invalid input file, 3 for an internal consistency error (eg, bug) which
caused ed to panic.
.SH "REPORTING BUGS"
Report bugs to bug\-ed@gnu.org
.br
Ed home page: http://www.gnu.org/software/ed/ed.html
.br
General help using GNU software: http://www.gnu.org/gethelp
.SH COPYRIGHT
Copyright \(co 1994 Andrew L. Moore.
.br
Copyright \(co 2017 Antonio Diaz Diaz.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
The full documentation for
.B ed
is maintained as a Texinfo manual.  If the
.B info
and
.B ed
programs are properly installed at your site, the command
.IP
.B info ed
.PP
should give you access to the complete manual.