2021-01-23 19:51:23 +01:00
|
|
|
#!/bin/sh
|
2021-10-22 17:15:09 +02:00
|
|
|
{
|
2021-07-17 22:48:33 +02:00
|
|
|
echo "$# Args: $@"
|
2021-10-31 20:27:18 +01:00
|
|
|
echo "${@:-default}" | sed 's/\w\+/\0-w/g'
|
2021-11-02 11:59:08 +00:00
|
|
|
for last; do true; done
|
|
|
|
echo "Last arg: $last"
|
2021-10-22 17:15:09 +02:00
|
|
|
} | tee /tmp/args$(date +%s)
|