Lines Matching +full:left +full:- +full:input +full:- +full:single +full:- +full:end
22 utility is a line-oriented text editor.
61 .Em input .
65 In this mode commands are read from the standard input and
81 When an input command, such as
89 enters input mode.
93 instead, the standard input is written
99 Input mode is terminated by
100 entering a single period
120 commands consist of zero or more line addresses, followed by a single
137 .Bl -tag -width indent
142 standard input is from a script.
185 .Em -
189 Addresses are read from left to right, and their values are computed
200 semi-colon.
206 .Em n Ns -tuple
211 .Em n Ns -tuple .
214 Each address in a comma-delimited range is interpreted relative to the
216 In a semi-colon-delimited range, the first address is
221 .Bl -tag -width indent
234 .It - or ^
237 .Em -1
239 .It -n or ^n
244 is a non-negative number.
255 is a non-negative number.
276 The search wraps to the end of the buffer and continues up to the
310 to match several strings in a line, then the left-most longest match is
314 .Bl -tag -width indent
328 Any backslash-escaped character
340 Match any single character.
341 .It Op char-class
342 Match any single character in
343 .Em char-class .
347 .Em char-class ,
349 A range of characters may be specified by separating the end characters
351 .Ql - ,
353 .Ql a-z
356 .Em char-class
359 .Bl -column "[:alnum:]" "[:cntrl:]" "[:lower:]" "[:xdigit:]" -compact
366 .Ql -
369 .Em char-class ,
372 .Em char-class
376 .Em char-class
379 .Bl -item -compact -offset 2n
381 .Op \&. Ns Ar col-elm Ns .\&
384 .Op = Ns Ar col-elm Ns =
388 .Ar col-elm
398 .It Op ^char-class
399 Match any single character, other than newline, not in
400 .Em char-class .
401 .Em Char-class
414 anchors the regular expression to the end of a line.
417 Anchor the single character regular expression or subexpression
421 Anchor the single character regular expression or subexpression
422 immediately following it to the end of a word.
440 their left delimiter.
442 Match the single character regular expression or subexpression
460 is the only left-most match.
462 Match the single character regular expression or subexpression
485 commands are single characters, though some require additional parameters.
511 .Bl -tag -width indent
514 Text is entered in input mode.
520 Text is entered in input mode.
564 .It (1,$)g/re/command-list
566 .Ar command-list
571 .Ar command-list
573 At the end of the
576 .Ar command-list .
579 .Ar command-list
590 .Ar command-list
601 .Ar command-list .
602 At the end of the
606 .Ar command-list .
609 .Ar command-list
614 A single
616 repeats the last non-null command list.
626 Text is entered in input mode.
631 deleted from the buffer and replaced by a single
639 (i.e., a single quote followed by
646 If a single line fills more than one screen (as might be the case
648 .Dq Li --More--
659 right-hand destination address, which may be the address
675 Unless a prompt was specified by with command-line option
761 consists of a single
798 Copy (i.e., transfer) the addressed lines to after the right-hand
813 are treated as a single command by undo.
816 .It (1,$)v/re/command-list
818 .Ar command-list
849 Write the addressed lines to the standard input of
856 Append the addressed lines to the end of
901 .Bl -tag -width /tmp/ed.* -compact
915 or exits if its input is from a script.
955 USD:12-13
960 .%O Addison-Wesley
982 If a text (non-binary) file is not terminated by a newline character,