crunch like password generator in Perl
Thanks to Mega for the help
usage: ./crunch <min> <max> [characters]
min: minimum length
max: maximum length
characters: characters to use
➜ ./crunch.pl 2 2 ab
number of lines: 4
number of bytes: 12
aa
ab
ba
bb
- the script waits 2 seconds to be sure you don't create a file too big in case you redirect
stdoutto a file - the two first lines (info) are wrote to
stderr - the number of bytes counts the newline characters