Hi

In the tr man page and the --help command, a description of the '--'
command is missing.

In the info page it can be found where it says:

     However, when ‘-’ is one of those characters, it can be tricky
     because ‘-’ has special meanings.  Performing the same task as
     above but also removing all ‘-’ characters, we might try ‘tr -d
     -axM’, but that would fail because ‘tr’ would try to interpret ‘-a’
     as a command-line option.  Alternatively, we could try putting the
     hyphen inside the string, ‘tr -d a-xM’, but that wouldn’t work
     either because it would make ‘tr’ interpret ‘a-x’ as the range of
     characters ‘a’...‘x’ rather than the three.  One way to solve the
     problem is to put the hyphen at the end of the list of characters:

          tr -d axM-

     Or you can use ‘--’ to terminate option processing:

          tr -d -- -axM


Thanks for great software!

-- 
𝕳𝖆𝖓𝖘 𝕾𝖈𝖍𝖔𝖚
☏ ➁➁ ➅➃ ➇⓪ ➁⓪

Reply via email to