Skip to content

Conversation

@cowens-papa
Copy link

macOS treats input files to tr as UTF-8 by default and the chances of /dev/random spitting out valid UTF-8 is low (which causes tr to fail and output nothing). Also, the complement of "A-Za-z0-9" seems to allow for invalid characters for some reason, but the alnum character class doesn't.

macOS treats input files to tr as UTF-8 by default and the chances of /dev/random spitting out valid UTF-8 is low (which causes tr to fail and output nothing). Also, the complement of "A-Za-z0-9" seems to allow for invalid characters for some reason, but the alnum character class doesn't.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant