dotfiles/.local/bin/scripts/arg-test
2021-11-07 00:29:26 +01:00

7 lines
151 B
Bash
Executable file

#!/bin/sh
{
echo "$# Args: $@"
#echo "${@:-default}" | sed 's/\w\+/\0-w/g'
for last; do true; done
echo "Last arg: $last"
} | tee /tmp/args$(date +%s)