gobyexample/examples/command-line-arguments/command-line-arguments.sh
2012-10-09 21:02:12 -07:00

10 lines
247 B
Bash

# Build a `command-line-args` binary so that we have
# the expected program name.
$ go build command-line-arguments
$ ./command-line-arguments a b c d
[command-line-arguments a b c d]
[a b c d]
c