This one's already present with the number in the command suffix: s/foo/bar/2
On Thu, Mar 2, 2023, 12:10 AM John Cowan <co...@ccil.org> wrote: > On Wed, Mar 1, 2023 at 8:16 PM John Cowan <co...@ccil.org> wrote: > > > Great, thanks! These are in no particular order: > > > > I missed one. > > Digit string between the letter of the s command and the first delimiter: > Indicates that the nth (rather than the first or all) match is replaced. > This means that digits can't be used as delimiters (which although > currently legal would be a Bad Thing anyway); POSIXLY_CORRECT would > override this feature and allow "s0foo0bar0". >