This is the mac version, it's adaptable for other *nixes but they don't have a pbcopy command, not sure how to insert into the clipboard in linux

Code:
#/bin/bash
for i in {1..20}
do
echo "" >> tmp.txt
echo -e ".\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" >> tmp.txt
done
echo $((1 + RANDOM % 100)) >> tmp.txt
pbcopy < tmp.txt
yes|rm tmp.txt