Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ed(1) [centos man page]

ED(1)								   User Commands							     ED(1)

NAME
Ed - line-oriented text editor SYNOPSIS
ed [options] [file] DESCRIPTION
GNU Ed - The GNU line editor. OPTIONS
-h, --help display this help and exit -V, --version output version information and exit -G, --traditional run in compatibility mode -l, --loose-exit-status exit with 0 status even if a command fails -p, --prompt=STRING use STRING as an interactive prompt -r, --restricted run in restricted mode -s, --quiet, --silent suppress diagnostics -v, --verbose be verbose Start edit by reading in 'file' if given. If 'file' begins with a '!', read output of shell command. 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. REPORTING BUGS
Report bugs to <bug-ed@gnu.org>. Ed home page: http://www.gnu.org/software/ed/ed.html General help using GNU software: http://www.gnu.org/gethelp COPYRIGHT
Copyright (C) 1994 Andrew L. Moore. Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for Ed is maintained as a Texinfo manual. If the info and Ed programs are properly installed at your site, the com- mand info Ed should give you access to the complete manual. Ed 1.9 June 2013 ED(1)

Check Out this Related Man Page

ED(1)                                                              User Commands                                                             ED(1)

NAME
Ed - line-oriented text editor SYNOPSIS
ed [options] [file] DESCRIPTION
GNU Ed - The GNU line editor. OPTIONS
-h, --help display this help and exit -V, --version output version information and exit -G, --traditional run in compatibility mode -l, --loose-exit-status exit with 0 status even if a command fails -p, --prompt=STRING use STRING as an interactive prompt -r, --restricted run in restricted mode -s, --quiet, --silent suppress diagnostics -v, --verbose be verbose Start edit by reading in 'file' if given. If 'file' begins with a '!', read output of shell command. 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. REPORTING BUGS
Report bugs to bug-ed@gnu.org Ed home page: http://www.gnu.org/software/ed/ed.html General help using GNU software: http://www.gnu.org/gethelp COPYRIGHT
Copyright (C) 1994 Andrew L. Moore. Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for Ed is maintained as a Texinfo manual. If the info and Ed programs are properly installed at your site, the com- mand info Ed should give you access to the complete manual. Ed 1.10 January 2014 ED(1)
Man Page

We Also Found This Discussion For You

1. Shell Programming and Scripting

wrapper script design for gnu ed text editor i/o

Hi. I'm having trouble writing a wrapper script for the command line text editor gnu ed. I want to be able to run the following algorithm on ed: 1. Display, on stdout, a command which I intend to feed into ed (before I actually feed it to ed). 2. Actually feed the command into ed's stdin.... (2 Replies)
Discussion started by: vomv1988
2 Replies