Skip to content

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

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:nl_allow_negative_values_for_i_and_v
Jul 14, 2023
Merged

nl: allow negative values for --line-increment and --starting-line-number#5078
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:nl_allow_negative_values_for_i_and_v

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