Twitter | Search | |
Tim Chase
You can also stack characters you want to allow: $ tr -cd [:alnum:][:punct:] < /dev/urandom | fold -w 20 | head -1 or just specific characters like comma, period, and underscore: $ tr -cd [:alnum:]',._' < /dev/urandom | fold -w 20 | head -1
Reply Retweet Like More
Roman 🦄🐡 Sep 26
Replying to @gumnos
Or just $ tr -cd [:print:] ...
Reply Retweet Like
Tim Chase Sep 26
Replying to @romanzolotarev
Or that, but more showing the set-composability aspect 😉
Reply Retweet Like
Roman 🦄🐡 Sep 26
Replying to @gumnos
Thank you! :)
Reply Retweet Like