• Home
  • Raw
  • Download

Lines Matching refs:number

113 * Increment a number::
458 @item @var{number}
460 @cindex Line, selecting by number
461 Specifying a line number will match only that line in the input.
470 a non-negative @var{n} such that the current line-number equals
585 If the second address is a @var{number} less than (or equal to)
603 A line number of @code{0} can be used in an address specification like
622 until the next line whose input line number is a multiple of @var{N}.
974 a number from 1 to 9, inclusive) references, which refer to
1023 @item @var{number}
1025 Only replace the @var{number}th match of the @var{regexp}.
1027 @cindex @acronym{GNU} extensions, @code{g} and @var{number} modifier interaction in @code{s} command
1028 @cindex Mixing @code{g} and @var{number} modifiers in the @code{s} command
1030 when you mix the @code{g} and @var{number} modifiers,
1034 ignore matches before the @var{number}th,
1036 the @var{number}th on.
1156 contain the same number of characters (after de-escaping).
1211 @findex = (print line number) command
1212 @cindex Printing line number
1213 @cindex Line number, printing
1214 Print out the current input line number (with a trailing newline).
1630 * Increment a number::
1654 To change that width, the number in @code{\@{@dots{}\@}} must be
1655 replaced, and the number of added spaces also must be changed.
1689 @node Increment a number
1697 To increment one number you just add 1 to last digit, replacing
1995 It uses @command{sed} to print the line number, then groups lines two
2000 is printed as soon as possible and then discarded. The number
2003 (using a @code{y} command). The line number for the next line
2015 # Add the correct line number before the pattern
2023 # Get the line number from hold space; add a zero
2041 # compose the new number, remove the newline implicitly added by G
2099 tens and so on: we simply add the number of characters
2109 convert units, removing @samp{a}s from the number; then we
2238 It displays the first 10 lines of input; the number of displayed
2284 the last script: after we have kicked in the appropriate number
2667 would depend on whether foo has an even or an odd number of
2947 and any following digits as a decimal number. If the number
2954 Inside a character class, or if the decimal number is
3065 a number of alternatives are involved, but it should be the
3077 last character of the pattern if a number of alternatives
3363 number of any subsequent capturing subpatterns. For example,
3372 and are numbered 1 and 2. The maximum number of captured
3373 substrings is 99, while the maximum number of all subpatterns,
3419 maximum number of permitted matches, by giving the two
3430 is not a special character. If the second number is omitted,
3432 second number and the comma are both omitted, the quantifier
3433 specifies an exact number of required matches. Thus
3491 number of permitted times), without causing the rest of the
3515 ceases to be greedy, and instead matches the minimum number
3519 number of matches. Do not confuse this use of question
3586 However, if the decimal number following the backslash is
3630 back reference number; this is different from what happens
3651 matches any number of @samp{a}s and also @samp{aba}, @samp{ababbaa},
3820 again to see if a different number of repeats allows the
3857 while both @code{\d+} and @code{\d+?} are prepared to adjust the number of
3902 that can itself be repeated an unlimited number of
3920 matches an unlimited number of substrings that either consist
3932 a large number of ways, and all have to be tried.@footnote{The
3969 is satisfied if the capturing subpattern of that number has
3970 previously matched. The number must be greater than zero.
4047 number of substrings which can either be a sequence of