Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle number flags #7

Open
tulir opened this issue May 16, 2019 · 0 comments
Open

Handle number flags #7

tulir opened this issue May 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@tulir
Copy link
Member

tulir commented May 16, 2019

https://www.gnu.org/software/sed/manual/html_node/The-_0022s_0022-Command.html

number

Only replace the numberth match of the regexp.

interaction in s command Note: the POSIX standard does not specify what should happen when you mix the g and number modifiers, and currently there is no widely agreed upon meaning across sed implementations. For GNU sed, the interaction is defined to be: ignore matches before the numberth, and then match and replace all matches from the numberth on.

@tulir tulir added the enhancement New feature or request label May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant