1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/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