#!/usr/bin/env bash MARK=${MARK:-} echo "self=$0" index=0 for arg in "$@"; do index=$[ $index + 1 ] echo "$index=${MARK}${arg}${MARK}" done