Home | History | Annotate | Download | only in doc

Lines Matching full:commands

63 * Command and Option Index::   A menu with all `sed' commands and
72 * Common Commands:: Often used commands
74 * Other Commands:: Less frequently used commands
75 * Programming Commands:: Commands for `sed' gurus
76 * Extended Commands:: Commands specific of GNU `sed'
153 Add the commands in SCRIPT to the set of commands to be run while
158 Add the commands contained in the file SCRIPT-FILE to the set of
159 commands to be run while processing the input.
196 commands. Most of the extensions accept `sed' programs that are
239 `R' commands are rewound at the start of each file.
260 (1) This applies to commands such as `=', `a', `c', `i', `l', `p'.
262 commands together with the `/dev/stdout' special file
273 A `sed' program consists of one or more `sed' commands, passed in by
289 * Common Commands:: Often used commands
291 * Other Commands:: Less frequently used commands
292 * Programming Commands:: Commands for `sed' gurus
293 * Extended Commands:: Commands specific of GNU `sed'
307 trailing newline, and places it in the pattern space. Then commands
317 Unless special commands (like `D') are used, the pattern space is
319 its data between cycles (see commands `h', `H', `x', `g', `G' to move
327 surprise" even though it does not make commands like `sed -n p' exactly
421 sense; there is no 0-th line and commands which are given the `0'
438 File: sed.info, Node: Regular Expressions, Next: Common Commands, Prev: Addresses, Up: sed Programs
643 File: sed.info, Node: Common Commands, Next: The "s" Command, Prev: Regular Expressions, Up: sed Programs
645 3.4 Often-Used Commands
649 commands.
672 Exit `sed' without processing any more commands or input. Note
689 more commands.
691 `{ COMMANDS }'
692 A group of commands may be enclosed between `{' and `}' characters.
693 This is particularly useful when you want a group of commands to
698 File: sed.info, Node: The "s" Command, Next: Other Commands, Prev: Common Commands, Up: sed Programs
809 File: sed.info, Node: Other Commands, Next: Programming Commands, Prev: The "s" Command, Up: sed Programs
811 3.6 Less Frequently-Used Commands
816 commands.
848 works with the `i' and `c' commands.
902 line is read; all `w' commands (including instances of `w' flag on
903 successful `s' commands) which refer to the same FILENAME are
915 exits without processing any more commands.
945 File: sed.info, Node: Programming Commands, Next: Extended Commands, Prev: Other Commands, Up: sed Programs
947 3.7 Commands for `sed' gurus
950 In most cases, use of these commands indicates that you are probably
953 commands can enable one to write quite convoluted scripts.
958 Specify the location of LABEL for branch commands. In all other
972 File: sed.info, Node: Extended Commands, Next: Escapes, Prev: Programming Commands, Up: sed Programs
974 3.8 Commands Specific to GNU `sed'
977 These commands are specific to GNU `sed', so you must use them with
1065 File: sed.info, Node: Escapes, Prev: Extended Commands, Up: sed Programs
1201 Note how the buffer commands are used to separate parts in the
1246 commands to increment the last digit, and then again substituting
1262 # The `tn' commands are not necessary, but make the thing
1291 transform it to be shell commands, then just feed them to shell. Don't
1480 emulating various Unix commands. This, in particular, is a `tac'
1629 `s' commands(1): first we convert units, removing `a's from the number;
1680 (1) Some implementations have a limit of 199 commands per script
1790 efficient and complex `sed' scripts, because commands like `P' would
1794 of this chapter and is based on the `N', `P' and `D' commands, here is
1822 This is an example of the art of using the `N', `P' and `D' commands,
2227 exception of the `sed' commands and command-line options.
2240 * Append hold space to pattern space: Other Commands. (line 125)
2241 * Append next input line to pattern space: Other Commands. (line 105)
2242 * Append pattern space to hold space: Other Commands. (line 117)
2243 * Appending text after a line: Other Commands. (line 27)
2245 * Branch to a label, if s/// failed: Extended Commands. (line 63)
2246 * Branch to a label, if s/// succeeded: Programming Commands.
2248 * Branch to a label, unconditionally: Programming Commands.
2253 * Caveat -- #n on first line: Common Commands. (line 20)
2254 * Command groups: Common Commands. (line 50)
2255 * Comments, in scripts: Common Commands. (line 12)
2256 * Conditional branch <1>: Extended Commands. (line 63)
2257 * Conditional branch: Programming Commands.
2259 * Copy hold space into pattern space: Other Commands. (line 121)
2260 * Copy pattern space into hold space: Other Commands. (line 113)
2261 * Delete first line from pattern space: Other Commands. (line 99)
2265 * Emptying pattern space: Extended Commands. (line 85)
2266 * Evaluate Bourne-shell commands: Extended Commands. (line 12)
2267 * Evaluate Bourne-shell commands, after substitution: The "s" Command.
2269 * Exchange hold space with pattern space: Other Commands. (line 129)
2274 * Flow of control in scripts: Programming Commands.
2277 * GNU extensions, /dev/stderr file <1>: Other Commands. (line 88)
2279 * GNU extensions, /dev/stdin file <1>: Extended Commands. (line 53)
2280 * GNU extensions, /dev/stdin file: Other Commands. (line 78)
2281 * GNU extensions, /dev/stdout file <1>: Other Commands. (line 88)
2289 * GNU extensions, branch if s/// failed: Extended Commands. (line 63)
2290 * GNU extensions, case modifiers in s commands: The "s" Command.
2292 * GNU extensions, checking for their presence: Extended Commands.
2296 * GNU extensions, emptying pattern space: Extended Commands. (line 85)
2297 * GNU extensions, evaluating Bourne-shell commands <1>: Extended Commands.
2299 * GNU extensions, evaluating Bourne-shell commands: The "s" Command.
2308 * GNU extensions, L command: Extended Commands. (line 26)
2313 * GNU extensions, quitting silently: Extended Commands. (line 36)
2314 * GNU extensions, R command: Extended Commands. (line 53)
2315 * GNU extensions, reading a file a line at a time: Extended Commands.
2317 * GNU extensions, reformatting paragraphs: Extended Commands. (line 26)
2318 * GNU extensions, returning an exit code <1>: Extended Commands.
2320 * GNU extensions, returning an exit code: Common Commands. (line 30)
2321 * GNU extensions, setting line length: Other Commands. (line 65)
2325 * GNU extensions, subprocesses <1>: Extended Commands. (line 12)
2331 * GNU extensions, two addresses supported by most commands: Other Commands.
2334 * GNU extensions, writing first line to a file: Extended Commands.
2336 * Goto, in scripts: Programming Commands.
2339 * Grouping commands: Common Commands. (line 50)
2340 * Hold space, appending from pattern space: Other Commands. (line 117)
2341 * Hold space, appending to pattern space: Other Commands. (line 125)
2342 * Hold space, copy into pattern space: Other Commands. (line 121)
2343 * Hold space, copying pattern space into: Other Commands. (line 113)
2345 * Hold space, exchange with pattern space: Other Commands. (line 129)
2350 * Inserting text before a line: Other Commands. (line 46)
2351 * Labels, in scripts: Programming Commands.
2354 * Line length, setting <1>: Other Commands. (line 65)
2356 * Line number, printing: Other Commands. (line 62)
2361 * List pattern space: Other Commands. (line 65)
2364 * Next input line, append to pattern space: Other Commands. (line 105)
2365 * Next input line, replace pattern space with: Common Commands.
2375 * Portability, comments: Common Commands. (line 15)
2383 * Print first line from pattern space: Other Commands. (line 110)
2384 * Printing line number: Other Commands. (line 62)
2385 * Printing text unambiguously: Other Commands. (line 65)
2386 * Quitting <1>: Extended Commands. (line 36)
2387 * Quitting: Common Commands. (line 30)
2390 * Read next input line: Common Commands. (line 44)
2391 * Read text from a file <1>: Extended Commands. (line 53)
2392 * Read text from a file: Other Commands. (line 78)
2393 * Reformat pattern space: Extended Commands. (line 26)
2394 * Reformatting paragraphs: Extended Commands. (line 26)
2395 * Replace hold space with copy of pattern space: Other Commands.
2397 * Replace pattern space with copy of hold space: Other Commands.
2403 * Replacing selected lines with other text: Other Commands. (line 52)
2404 * Requiring GNU sed: Extended Commands. (line 69)
2417 * Subprocesses <1>: Extended Commands. (line 12)
2420 * Text, appending: Other Commands. (line 27)
2421 * Text, deleting: Common Commands. (line 36)
2422 * Text, insertion: Other Commands. (line 46)
2423 * Text, printing: Common Commands. (line 39)
2427 * Transliteration: Other Commands. (line 14)
2432 * Write first line to a file: Extended Commands. (line 80)
2433 * Write to a file: Other Commands. (line 88)
2442 This is an alphabetical list of all `sed' commands and command-line
2448 * # (comments): Common Commands. (line 12)
2467 * -n, forcing from within a script: Common Commands. (line 20)
2470 * : (label) command: Programming Commands.
2472 * = (print line number) command: Other Commands. (line 62)
2473 * a (append text lines) command: Other Commands. (line 27)
2474 * b (branch) command: Programming Commands.
2476 * c (change to text lines) command: Other Commands. (line 52)
2477 * D (delete first line) command: Other Commands. (line 99)
2478 * d (delete) command: Common Commands. (line 36)
2479 * e (evaluate) command: Extended Commands. (line 12)
2480 * G (appending Get) command: Other Commands. (line 125)
2481 * g (get) command: Other Commands. (line 121)
2482 * H (append Hold) command: Other Commands. (line 117)
2483 * h (hold) command: Other Commands. (line 113)
2484 * i (insert text lines) command: Other Commands. (line 46)
2485 * L (fLow paragraphs) command: Extended Commands. (line 26)
2486 * l (list unambiguously) command: Other Commands. (line 65)
2487 * N (append Next line) command: Other Commands. (line 105)
2488 * n (next-line) command: Common Commands. (line 44)
2489 * P (print first line) command: Other Commands. (line 110)
2490 * p (print) command: Common Commands. (line 39)
2491 * q (quit) command: Common Commands. (line 30)
2492 * Q (silent Quit) command: Extended Commands. (line 36)
2493 * r (read file) command: Other Commands. (line 78)
2494 * R (read line) command: Extended Commands. (line 53)
2496 * T (test and branch if failed) command: Extended Commands. (line 63)
2497 * t (test and branch if successful) command: Programming Commands.
2499 * v (version) command: Extended Commands. (line 69)
2500 * w (write file) command: Other Commands. (line 88)
2501 * W (write first line) command: Extended Commands. (line 80)
2502 * x (eXchange) command: Other Commands. (line 129)
2503 * y (transliterate) command: Other Commands. (line 14)
2504 * z (Zap) command: Extended Commands. (line 85)
2505 * {} command grouping: Common Commands. (line 50)
2520 Node: Common Commands26082
2523 Node: Other Commands32494
2524 Ref: Other Commands-Footnote-137636
2525 Node: Programming Commands37708
2526 Node: Extended Commands38622