Tuesday, January 28, 2025

Re: tr manpage typo?

On Tue, 28 Jan 2025 09:49:09 +0100 (CET)
tomas.rippl@tuta.com wrote:

> Studying UNIX as a newbie (and using OpenBSD 7.6 and the UNIX made
> easy book for that) I think I found a typo in tr manpage. In the
> DESCRIPTION of the -s option they say that it "queezes multiple
> occurrences of the characters listed in the last operand (either
> string1 or string2) in the input into a single instance of the
> character". However, I think it does the squeeze in the output, not
> input. Am I right or wrong?
>


It "squeezes (multiple occurences of the characters [...] in the input) into a single instance of the character"

Best regards
Robert

No comments:

Post a Comment