Created
November 25, 2022 11:48
-
-
Save ZiTAL/acf0a94695e3946e9e70f3f4a8df6ba0 to your computer and use it in GitHub Desktop.
mail: fish vs bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash style: | |
/usr/bin/mail -s "Title" -r sender@sender.com receptor@receptor.com <<< "BODY" | |
# fish and bash: | |
echo "Body" | /usr/bin/mail -s "Title" -r sender@sender.com receptor@receptor.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment