dotfiles/.local/bin/scripts/arg-test

5 lines
102 B
Bash
Executable File

#!/bin/sh
echo "$# Args: $@"
echo "${@:-default}" | sed 's/\(\w\+\)/\1-w/g'
#echo "Last arg: ${@:$#}"