# This creates 120k heredoc echo 'cat <"$0.tmp" yes "123456789 123456789 123456789 123456789" | head -3000 >>"$0.tmp" echo 'HERE' >>"$0.tmp" yes "123456789 123456789 123456789 123456789" | head -3000 | md5sum . "$0.tmp" rm "$0.tmp" echo End