Lines Matching refs:space
146 By default, `sed' prints out the pattern space at the end of each
302 `sed' maintains two data buffers: the active _pattern_ space, and the
303 auxiliary _hold_ space. Both are initially empty.
307 trailing newline, and places it in the pattern space. Then commands
313 use, the contents of pattern space are printed out to the output
317 Unless special commands (like `D') are used, the pattern space is
318 deleted between two cycles. The hold space, on the other hand, keeps
505 Matches the null string at beginning of the pattern space, i.e.
507 the pattern space.
509 In most scripts, pattern space is initialized to the content of
514 is valid as long as the original content of pattern space is not
524 It is the same as `^', but refers to end of pattern space. `$'
545 `[.ch.]', `[=a=]', and `[:space:]' are special within LIST and
627 string of one or more characters, none of which is a space or a
666 sure to either use a capital `N', or place at least one space
673 that the current pattern space is printed if auto-print is not
678 Delete the pattern space; immediately start next cycle.
681 Print out the pattern space (to the standard output). This
686 If auto-print is not disabled, print the pattern space, then,
687 regardless, replace the pattern space with the next line of input.
712 attempts to match the pattern space against the supplied REGEXP; if the
713 match is successful, then that portion of the pattern space which was
720 whole matched portion of the pattern space. Finally, as a GNU `sed'
762 If the substitution was made, then print the new pattern space.
770 the pattern space before and after evaluation, while in general
783 pattern space. If a substitution was made, the command that is
784 found in pattern space is executed and pattern space is replaced
822 Transliterate any characters in the pattern space which match any
865 since the pattern space will have been deleted.
873 Print the pattern space in an unambiguous form: non-printable
896 Write the pattern space to FILENAME. As a GNU `sed' extension,
907 Delete text in the pattern space up to the first newline. If any
908 text is left, restart cycle with the resultant pattern space
913 Add a newline to the pattern space, then append the next line of
914 input to the pattern space. If there is no more input then `sed'
918 Print out the portion of the pattern space up to the first newline.
921 Replace the contents of the hold space with the contents of the
922 pattern space.
925 Append a newline to the contents of the hold space, and then
926 append the contents of the pattern space to that of the hold space.
929 Replace the contents of the pattern space with the contents of the
930 hold space.
933 Append a newline to the contents of the pattern space, and then
934 append the contents of the hold space to that of the pattern space.
984 pattern space. Without parameters, the `e' command executes the
985 command that is found in pattern space and replaces the pattern
986 space with the output; a trailing newline is suppressed.
997 This GNU `sed' extension fills and joins lines in pattern space to
1008 of pattern space. Like `q', it provides the ability to return an
1020 g Overwrite pattern space each time to save memory
1051 Write to the given filename the portion of the pattern space up to
1056 This command empties the content of pattern space. It is usually
1146 Matches only at the start of pattern space. This is different
1150 Matches only at the end of pattern space. This is different from
1376 # hold space contains the new filename
1530 stored in the hold space, to be used in the next iteration.
1546 # Get the line number from hold space; add a zero
1555 # keep changing digits in hold space
1561 # keep unchanged digits in pattern space
1625 As usual, running totals are kept in hold space.
1635 # Add n+1 a's to hold space (+1 is for the newline)
1709 # Append them to hold space
1776 final output in the hold space and prints it at the end:
1799 however, we stop using the hold space to keep inter-line state, and
1800 instead use `N' and `D' to slide pattern space by one line:
1814 space, and removing the first line.
1880 # Found a different one. Leave it alone in the pattern space
1903 # Got two equal lines in pattern space. At the
2015 repetition. This means that the available stack space may limit the
2072 pattern space before exiting unless of course the `-n' command
2168 `s/.*//' does not clear pattern space
2171 by `.', so that `s/.*//' will not clear pattern space as you would
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)
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)
2264 * Emptying pattern space <1>: Reporting Bugs. (line 130)
2265 * Emptying pattern space: Extended Commands. (line 85)
2269 * Exchange hold space with pattern space: Other Commands. (line 129)
2295 * GNU extensions, emptying pattern space <1>: Reporting Bugs. (line 130)
2296 * GNU extensions, emptying pattern space: Extended Commands. (line 85)
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)
2344 * Hold space, definition: Execution Cycle. (line 6)
2345 * Hold space, exchange with pattern space: Other Commands. (line 129)
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.
2373 * Pattern space, definition: Execution Cycle. (line 6)
2383 * Print first line from pattern space: Other Commands. (line 110)
2393 * Reformat pattern space: 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.