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:
Tim J. Robbins 2002-06-10 07:44:04 +00:00
parent 2ef53777fd
commit 1fa600e8fe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98087

View file

@ -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.