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

5 lines
101 B
Plaintext
Raw Normal View History

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