Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if test "$#" -ne 3; then
- echo "invalid args"
- exit 1
- fi
- maxi=$1
- if test $2 -gt $maxi; then
- maxi=$2;
- fi
- if test $3 -gt $maxi; then
- maxi=$3;
- fi
- echo "maximum=$maxi"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement