Skip to content
Advertisement

Tag: random

Linux tr command not working as expected

I have this password generator: Which works fine as follows: But fails as follows: The tr command is explicitly saying: remove all characters which do not belong to the given set Thus the characters , and . are unexpected. Where do they come from? Answer There’s also another part of tr’s man page that you overlooked: CHAR1-CHAR2 all characters from

Advertisement