in reply to Random string generator
Thanks to jmcnamara, we have this example:
perl -le 'print map{(a..z)[rand 26]} 0..rand 10'
which I have extended thusly:
perl -le 'print map{(a..z,A..Z,0..9)[rand 62]} 0..7'
and which you could extend as needed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Random string generator
by glenn (Scribe) on Mar 11, 2016 at 15:11 UTC |