Skip to content

Instantly share code, notes, and snippets.

@zsxwing
Last active December 15, 2015 21:58
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 zsxwing/5329198 to your computer and use it in GitHub Desktop.
Save zsxwing/5329198 to your computer and use it in GitHub Desktop.
Convenient way to write a usage function.
usage() {
cat <<END;
ez_mail TITLE CONTENT FROM_ADDRESS RECIEVER_ADDRESS
EXAMPLE
ez_mail 'Hello World!' 'Hi!' example@example.com somebody@example.com
END
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment