Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo ${BASH_VERSION}
- echo "Broj argumenata je $# "
- echo "Poslednji argument je \"${!#}\" "
- max=$#
- for (( i=1; i<=max; i++))
- do
- num=${!i}
- printf "$num "
- done
- echo
Advertisement
Add Comment
Please, Sign In to add comment