Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A script to generate a random password' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to generate a random password
Authored by: clh on Jan 05, '06 07:46:08AM
I believe you need to double-escape 'w' in line 3 of your script, in order to grep for the character class "alnum" (as it stands, you're grepping for the letter "w").

jot -rc 24 48 123 | grep -m12 \\w | rs -g 0 12 | pbcopy

[ Reply to This | # ]