dotfiles/.local/bin/scripts/arg-test
2021-10-16 19:07:00 +02:00

4 lines
102 B
Bash
Executable file

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