dotfiles/.local/bin/scripts/arg-test
2021-01-23 19:55:22 +01:00

4 lines
101 B
Bash
Executable file

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