Mercurial > hg > config
view bin/example/args.sh @ 815:06f1c3de040c
k8s is picky about how many dashes a deployment may have
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Sun, 13 Nov 2016 16:02:30 -0800 |
| parents | 5bee5c55a7a0 |
| children |
line wrap: on
line source
#!/bin/bash function foo { echo '$*'="$*" echo '$@'="$@" echo '$#'="$#" if [[ "$*" == "test string" ]] then echo '$*' == "test string" if [[ "$@" == "test string" ]] then echo '$@' == "test string" else echo '$@' != "test string" fi fi }
