1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 03:55:06 +00:00

Utilities/tr: Rework squeezing to be supported during more operations

This commit is contained in:
Tim Schumacher 2021-11-13 12:17:40 +01:00 committed by Andreas Kling
parent 3c98a9430b
commit 2e8330f78c
2 changed files with 39 additions and 25 deletions

View file

@ -14,7 +14,7 @@ $ tr [--complement] [--delete] [--squeeze-repeats] <from> [to]
* `--version`: Print version
* `-c`, `--complement`: Take the complement of the first set
* `-d`, `--delete`: Delete characters instead of replacing
* `-s`, `--squeeze-repeats`: Omit repeated characters listed in the 'to' set from the output
* `-s`, `--squeeze-repeats`: Omit repeated characters listed in the last given set from the output
## Arguments: