our/cmds/arguments

7 lines
315 B
Bash
Executable File

#!/bin/sh
echo -n "\$1 => " ; test -z "$1" && echo -n "<empty> | " || echo -n "$1 | "
echo -n "\$2 => " ; test -z "$2" && echo -n "<empty> | " || echo -n "$2 | "
echo -n "\$3 => " ; test -z "$3" && echo -n "<empty> | " || echo -n "$3 | "
echo -n "\$4 => " ; test -z "$4" && echo -n "<empty> | " || echo -n "$4 | "