6 lines
129 B
Bash
Executable file
6 lines
129 B
Bash
Executable file
#!/bin/sh
|
|
{
|
|
echo "$# Args: $@"
|
|
echo "${@:-default}" | sed 's/\w\+/\0-w/g'
|
|
#echo "Last arg: ${@:$#}"
|
|
} | tee /tmp/args$(date +%s)
|