diff options
Diffstat (limited to 'upstream/opensuse-leap-15-6/man1/ed.1')
-rw-r--r-- | upstream/opensuse-leap-15-6/man1/ed.1 | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/upstream/opensuse-leap-15-6/man1/ed.1 b/upstream/opensuse-leap-15-6/man1/ed.1 new file mode 100644 index 00000000..300586cb --- /dev/null +++ b/upstream/opensuse-leap-15-6/man1/ed.1 @@ -0,0 +1,77 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. +.TH ED "1" "January 2021" "GNU ed 1.17" "User Commands" +.SH NAME +ed \- line-oriented text editor +.SH SYNOPSIS +.B ed +[\fI\,options\/\fR] [\fI\,file\/\fR] +.SH DESCRIPTION +GNU ed is a line\-oriented text editor. It is used to create, display, +modify and otherwise manipulate text files, both interactively and via +shell scripts. A restricted version of ed, red, can only edit files in +the current directory and cannot execute shell commands. Ed is the +\&'standard' text editor in the sense that it is the original editor for +Unix, and thus widely available. For most purposes, however, it is +superseded by full\-screen editors such as GNU Emacs or GNU Moe. +.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\-E\fR, \fB\-\-extended\-regexp\fR +use extended regular expressions +.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 2021 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. |