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

nl: allow negative values for --line-increment and --starting-line-number #5078

Merged

Conversation

cakebaker
Copy link
Contributor

This PR allows negative values for -i/--line-increment and -v/--starting-line-number to be compatible with GNU nl.

To keep the PR focused on the input I didn't address any indentation issues in the output. This will be addressed in a future PR.

@cakebaker cakebaker force-pushed the nl_allow_negative_values_for_i_and_v branch from 0477bed to 388f249 Compare July 14, 2023 10:31
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail-2/inotify-dir-recreate

@sylvestre sylvestre merged commit 78fed70 into uutils:main Jul 14, 2023
43 of 45 checks passed
@cakebaker cakebaker deleted the nl_allow_negative_values_for_i_and_v branch July 15, 2023 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants