1ED(1) User Commands ED(1)
2
3
4
6 Ed - line-oriented text editor
7
9 ed [options] [file]
10
12 GNU Ed - The GNU line editor.
13
15 -h, --help
16 display this help and exit
17
18 -V, --version
19 output version information and exit
20
21 -G, --traditional
22 run in compatibility mode
23
24 -l, --loose-exit-status
25 exit with 0 status even if a command fails
26
27 -p, --prompt=STRING
28 use STRING as an interactive prompt
29
30 -r, --restricted
31 run in restricted mode
32
33 -s, --quiet, --silent
34 suppress diagnostics
35
36 -v, --verbose
37 be verbose
38
39 Start edit by reading in 'file' if given. If 'file' begins with a '!',
40 read output of shell command.
41
42 Exit status: 0 for a normal exit, 1 for environmental problems (file
43 not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or
44 invalid input file, 3 for an internal consistency error (eg, bug) which
45 caused ed to panic.
46
48 Report bugs to <bug-ed@gnu.org>.
49 Ed home page: http://www.gnu.org/software/ed/ed.html
50 General help using GNU software: http://www.gnu.org/gethelp
51
53 Copyright © 1994 Andrew L. Moore.
54 Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU
55 GPL version 3 or later <http://gnu.org/licenses/gpl.html>
56 This is free software: you are free to change and redistribute it.
57 There is NO WARRANTY, to the extent permitted by law.
58
60 The full documentation for Ed is maintained as a Texinfo manual. If
61 the info and Ed programs are properly installed at your site, the com‐
62 mand
63
64 info Ed
65
66 should give you access to the complete manual.
67
68
69
70Ed 1.9 June 2013 ED(1)