Lines Matching refs:space
212 By default, @command{sed} prints out the pattern space
421 @cindex Pattern space, definition
422 @cindex Hold space, definition
423 @command{sed} maintains two data buffers: the active @emph{pattern} space,
424 and the auxiliary @emph{hold} space. Both are initially empty.
428 stream, removes any trailing newline, and places it in the pattern space.
435 is in use, the contents of pattern space are printed out to the output
444 Unless special commands (like @samp{D}) are used, the pattern space is
445 deleted between two cycles. The hold space, on the other hand, keeps
719 Matches the null string at beginning of the pattern space, i.e. what
721 pattern space.
723 In most scripts, pattern space is initialized to the content of each
728 valid as long as the original content of pattern space is not modified,
738 It is the same as @code{^}, but refers to end of pattern space.
765 @code{[:space:]} are special within @var{list} and represent collating
860 characters, none of which is a space or a tab.
907 or place at least one space before the @samp{n}.
916 Note that the current pattern space is printed if auto-print is
923 Delete the pattern space;
929 Print out the pattern space (to the standard output).
935 @cindex Next input line, replace pattern space with
937 If auto-print is not disabled, print the pattern space,
938 then, regardless, replace the pattern space with the next line of input.
967 space against the supplied @var{regexp}; if the match is
969 space which was matched is replaced with @var{replacement}.
979 of the pattern space.
1040 If the substitution was made, then print the new pattern space.
1048 @code{e}, printing the pattern space before and after evaluation,
1070 into pattern space. If a substitution was made, the command
1071 that is found in pattern space is executed and pattern space
1148 Transliterate any characters in the pattern space which match
1205 since the pattern space will have been deleted.
1218 @cindex List pattern space
1222 Print the pattern space in an unambiguous form:
1255 Write the pattern space to @var{filename}.
1270 @cindex Delete first line from pattern space
1271 Delete text in the pattern space up to the first newline.
1273 pattern space (without reading a new line of input),
1278 @cindex Next input line, append to pattern space
1279 @cindex Append next input line to pattern space
1280 Add a newline to the pattern space,
1281 then append the next line of input to the pattern space.
1287 @cindex Print first line from pattern space
1288 Print out the portion of the pattern space up to the first newline.
1292 @cindex Copy pattern space into hold space
1293 @cindex Replace hold space with copy of pattern space
1294 @cindex Hold space, copying pattern space into
1295 Replace the contents of the hold space with the contents of the pattern space.
1299 @cindex Append pattern space to hold space
1300 @cindex Hold space, appending from pattern space
1301 Append a newline to the contents of the hold space,
1302 and then append the contents of the pattern space to that of the hold space.
1306 @cindex Copy hold space into pattern space
1307 @cindex Replace pattern space with copy of hold space
1308 @cindex Hold space, copy into pattern space
1309 Replace the contents of the pattern space with the contents of the hold space.
1313 @cindex Append hold space to pattern space
1314 @cindex Hold space, appending to pattern space
1315 Append a newline to the contents of the pattern space,
1316 and then append the contents of the hold space to that of the pattern space.
1320 @cindex Exchange hold space with pattern space
1321 @cindex Hold space, exchange with pattern space
1380 into pattern space. Without parameters, the @code{e} command
1381 executes the command that is found in pattern space and
1382 replaces the pattern space with the output; a trailing newline
1395 @cindex Reformat pattern space
1399 This @value{SSED} extension fills and joins lines in pattern space
1411 If the pattern space contains multiple lines, they are joined, but
1412 since the pattern space usually contains a single line, the behavior
1428 contents of pattern space. Like @code{q}, it provides the
1441 g @i{@r{Overwrite pattern space each time to save memory}}
1489 Write to the given filename the portion of the pattern space up to
1495 @cindex @value{SSEDEXT}, emptying pattern space
1496 @cindex Emptying pattern space
1497 This command empties the content of pattern space. It is
1604 Matches only at the start of pattern space. This is different
1608 Matches only at the end of pattern space. This is different
1613 Match only at the start of pattern space or, when doing a global
1836 # hold space contains the new filename
2004 is then composed and stored in the hold space, to be used in the
2023 # Get the line number from hold space; add a zero
2032 # keep changing digits in hold space
2038 # keep unchanged digits in pattern space
2103 As usual, running totals are kept in hold space.
2117 # Add n+1 a's to hold space (+1 is for the newline)
2188 # Append them to hold space
2256 final output in the hold space and prints it at the end:
2285 of lines, however, we stop using the hold space to keep inter-line
2287 space by one line:
2305 line to pattern space, and removing the first line.
2371 # Found a different one. Leave it alone in the pattern space
2395 # Got two equal lines in pattern space. At the
2520 repetition. This means that the available stack space may limit
2658 @value{SSED} prints pattern space before exiting unless of course
2786 @item @code{s/.*//} does not clear pattern space
2788 @cindex @value{SSEDEXT}, emptying pattern space
2789 @cindex Emptying pattern space
2794 pattern space as you would expect. In fact, there is no way to clear
2962 \040 @i{@r{is another way of writing a space}}
3026 Asserts the matcher is at the start of pattern space (independent
3030 Asserts the matcher is at the end of pattern space,
3031 or at a newline before the end of pattern space (independent of
3035 Asserts the matcher is at the end of pattern space (independent
3223 Matches printing characters, excluding space
3229 Matches printing characters, including space
3234 @item space
3235 Matches white space (same as \s)
3972 white space to make it more readable (assume the @code{X} modifier)
3996 non-significant white space, and with the two alternatives
4040 so that white space is ignored):