Skip to content

tr: Properly handle deleting and squeezing#5999

Merged
sylvestre merged 2 commits intouutils:mainfrom
BenWiederhake:dev-tr-squeeze-last-set
Feb 23, 2024
Merged

tr: Properly handle deleting and squeezing#5999
sylvestre merged 2 commits intouutils:mainfrom
BenWiederhake:dev-tr-squeeze-last-set

Conversation

@BenWiederhake
Copy link
Copy Markdown
Collaborator

Found while playing around with multiple arguments, and comparing with GNU tr output:

  • We used to accept invocations with only one string; note that this never makes sense with tr -ds, for example.
  • We used to complement the second set in tr -cds, even though our --help text already correctly points out that -c only complements SET1, not SET2.

@BenWiederhake BenWiederhake force-pushed the dev-tr-squeeze-last-set branch from 2b4f412 to 617f3a8 Compare February 23, 2024 05:08
@BenWiederhake
Copy link
Copy Markdown
Collaborator Author

Changes since last push:

  • test_dd flaked, no action taken (in this PR)
  • Told the spellchecker to ignore the inputs to tr.

@sylvestre sylvestre merged commit 9af65c0 into uutils:main Feb 23, 2024
@BenWiederhake BenWiederhake deleted the dev-tr-squeeze-last-set branch February 23, 2024 10:10
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.

3 participants