Created
June 23, 2018 17:22
-
-
Save TooTallNate/702fa93cb22f09db02bd1f51b30b687d to your computer and use it in GitHub Desktop.
Basic "add" function for bash, for demonstration purposes
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
add() { | |
echo "$(( $1 + $2 ))" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment