Just because, not because you should.
perl -nle 'BEGIN{$l=shift} END{print $line} length == $l && $lc++ || next ; rand($lc) < 1 && ($line = $_)' 4 /usr/share/dict/wordsIn reply to Re: Random word generator
by Your Mother
in thread Random word generator
by rooneyl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |