ansible/test/integration/targets/args/runme.sh

12 lines
138 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
echo "arg[#]: $#"
echo "arg[0]: $0"
i=0
for arg in "$@"; do
i=$((i+1))
echo "arg[$i]: ${arg}"
done