Skip to content

Instantly share code, notes, and snippets.

@fvigotti
Last active July 22, 2016 13:16
#!/usr/bin/env bash
args=("$@")
ELEMENTS=${#args[@]}
for (( i=0;i<$ELEMENTS;i++)); do
echo '['$i']'${args[${i}]}'[/'$i']'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment