Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- min=$1
- max=$1
- shift
- while [ "$#" -ne "0" ]
- do
- min=$(min.sh "$min" "$1")
- max=$(max.sh "$max" "$1")
- shift
- done
- echo "Max: $max"
- echo "Min: $min"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement