mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 09:43:47 +00:00
The 10 occurrence limit for the `s' command documented here has not existed
for a very long time (or never did exist).
This commit is contained in:
parent
2ef53777fd
commit
1fa600e8fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98087
|
@ -423,9 +423,10 @@ The value of
|
|||
.Em flags
|
||||
in the substitute function is zero or more of the following:
|
||||
.Bl -tag -width "XXXXXX" -offset indent
|
||||
.It "0 ... 9"
|
||||
Make the substitution only for the N'th occurrence of the regular
|
||||
expression in the pattern space.
|
||||
.It Em N
|
||||
Make the substitution only for the
|
||||
.Em N Ns 'th
|
||||
occurrence of the regular expression in the pattern space.
|
||||
.It g
|
||||
Make the substitution for all non-overlapping matches of the
|
||||
regular expression, not just the first one.
|
||||
|
|
Loading…
Reference in a new issue