Skip to content

Instantly share code, notes, and snippets.

@dblevins
Created December 3, 2010 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dblevins/727267 to your computer and use it in GitHub Desktop.
Save dblevins/727267 to your computer and use it in GitHub Desktop.
#!/bin/bash
# read from stdin -- do with it as you please
while read n; do
cat <<EOF
This is free text with variables
The value of n is "$n"
EOF
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment