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
commit 2e8330f78c
Notes: sideshowbarker 2024-07-18 01:10:41 +09:00
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: