Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oleg@t510 0 ~/dev/amtt % cat test.sh
- #!/bin/bash
- set -eu
- function test2 ()
- {
- echo "$1 $2"
- }
- test2 0 "$@"
- test2 0 "$(echo $@)"
- oleg@t510 0 ~/dev/amtt % ./test.sh 1 2 3
- 0 1
- 0 1 2 3
- oleg@t510 0 ~/dev/amtt %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement