head -c -1 << 'EOF' > woot.txt
Your text here.
EOF
 

Leave a Reply

*