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

expand: add support for "--tabs" shortcuts #3612

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

cakebaker
Copy link
Contributor

This PR adds support for shortcuts like -1 and -1,2 which are translated to --tabs=1 and --tabs=1 --tabs=2.

Fixes #3575 and makes the tests u1 - u7 in https://github.com/coreutils/coreutils/blob/master/tests/misc/expand.pl pass.

@sylvestre
Copy link
Sponsor Contributor

some lines are reported as uncovered by tests but it seems that they should be. any idea what is going on?

@cakebaker
Copy link
Contributor Author

Hm. I don't know, they seem to be false alarms, with the exception of the warning for line 271. There is no test for this error as I don't know how to trigger it...

@sylvestre sylvestre merged commit 9cfb92d into uutils:main Jun 16, 2022
@cakebaker cakebaker deleted the ticket_3575 branch June 16, 2022 11:22
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.

expand: undocumented shortcut is not supported
2 participants