Lines Matching refs:space
213 By default, @command{sed} prints out the pattern space
422 @cindex Pattern space, definition
423 @cindex Hold space, definition
424 @command{sed} maintains two data buffers: the active @emph{pattern} space,
425 and the auxiliary @emph{hold} space. Both are initially empty.
429 stream, removes any trailing newline, and places it in the pattern space.
436 is in use, the contents of pattern space are printed out to the output
445 Unless special commands (like @samp{D}) are used, the pattern space is
446 deleted between two cycles. The hold space, on the other hand, keeps
720 Matches the null string at beginning of the pattern space, i.e. what
722 pattern space.
724 In most scripts, pattern space is initialized to the content of each
729 valid as long as the original content of pattern space is not modified,
739 It is the same as @code{^}, but refers to end of pattern space.
766 @code{[:space:]} are special within @var{list} and represent collating
861 characters, none of which is a space or a tab.
908 or place at least one space before the @samp{n}.
917 Note that the current pattern space is printed if auto-print is
924 Delete the pattern space;
930 Print out the pattern space (to the standard output).
936 @cindex Next input line, replace pattern space with
938 If auto-print is not disabled, print the pattern space,
939 then, regardless, replace the pattern space with the next line of input.
968 space against the supplied @var{regexp}; if the match is
970 space which was matched is replaced with @var{replacement}.
980 of the pattern space.
1041 If the substitution was made, then print the new pattern space.
1049 @code{e}, printing the pattern space before and after evaluation,
1071 into pattern space. If a substitution was made, the command
1072 that is found in pattern space is executed and pattern space
1149 Transliterate any characters in the pattern space which match
1206 since the pattern space will have been deleted.
1219 @cindex List pattern space
1223 Print the pattern space in an unambiguous form:
1256 Write the pattern space to @var{filename}.
1271 @cindex Delete first line from pattern space
1272 Delete text in the pattern space up to the first newline.
1274 pattern space (without reading a new line of input),
1279 @cindex Next input line, append to pattern space
1280 @cindex Append next input line to pattern space
1281 Add a newline to the pattern space,
1282 then append the next line of input to the pattern space.
1288 @cindex Print first line from pattern space
1289 Print out the portion of the pattern space up to the first newline.
1293 @cindex Copy pattern space into hold space
1294 @cindex Replace hold space with copy of pattern space
1295 @cindex Hold space, copying pattern space into
1296 Replace the contents of the hold space with the contents of the pattern space.
1300 @cindex Append pattern space to hold space
1301 @cindex Hold space, appending from pattern space
1302 Append a newline to the contents of the hold space,
1303 and then append the contents of the pattern space to that of the hold space.
1307 @cindex Copy hold space into pattern space
1308 @cindex Replace pattern space with copy of hold space
1309 @cindex Hold space, copy into pattern space
1310 Replace the contents of the pattern space with the contents of the hold space.
1314 @cindex Append hold space to pattern space
1315 @cindex Hold space, appending to pattern space
1316 Append a newline to the contents of the pattern space,
1317 and then append the contents of the hold space to that of the pattern space.
1321 @cindex Exchange hold space with pattern space
1322 @cindex Hold space, exchange with pattern space
1381 into pattern space. Without parameters, the @code{e} command
1382 executes the command that is found in pattern space and
1383 replaces the pattern space with the output; a trailing newline
1396 @cindex Reformat pattern space
1400 This @value{SSED} extension fills and joins lines in pattern space
1412 If the pattern space contains multiple lines, they are joined, but
1413 since the pattern space usually contains a single line, the behavior
1429 contents of pattern space. Like @code{q}, it provides the
1442 g @i{@r{Overwrite pattern space each time to save memory}}
1490 Write to the given filename the portion of the pattern space up to
1496 @cindex @value{SSEDEXT}, emptying pattern space
1497 @cindex Emptying pattern space
1498 This command empties the content of pattern space. It is
1605 Matches only at the start of pattern space. This is different
1609 Matches only at the end of pattern space. This is different
1614 Match only at the start of pattern space or, when doing a global
1886 # hold space contains the new filename
2087 is then composed and stored in the hold space, to be used in the
2113 # Get the line number from hold space; add a zero
2126 # keep changing digits in hold space
2134 # keep unchanged digits in pattern space
2206 As usual, running totals are kept in hold space.
2221 # Add n+1 a's to hold space (+1 is for the newline)
2304 # Append them to hold space
2379 final output in the hold space and prints it at the end:
2410 of lines, however, we stop using the hold space to keep inter-line
2412 space by one line:
2432 line to pattern space, and removing the first line.
2513 # Found a different one. Leave it alone in the pattern space
2541 # Got two equal lines in pattern space. At the
2687 repetition. This means that the available stack space may limit
2825 @value{SSED} prints pattern space before exiting unless of course
2953 @item @code{s/.*//} does not clear pattern space
2955 @cindex @value{SSEDEXT}, emptying pattern space
2956 @cindex Emptying pattern space
2961 pattern space as you would expect. In fact, there is no way to clear
3129 \040 @i{@r{is another way of writing a space}}
3193 Asserts the matcher is at the start of pattern space (independent
3197 Asserts the matcher is at the end of pattern space,
3198 or at a newline before the end of pattern space (independent of
3202 Asserts the matcher is at the end of pattern space (independent
3390 Matches printing characters, excluding space
3396 Matches printing characters, including space
3401 @item space
3402 Matches white space (same as \s)
4139 white space to make it more readable (assume the @code{X} modifier)
4163 non-significant white space, and with the two alternatives
4207 so that white space is ignored):