11 lines
158 B
Bash
11 lines
158 B
Bash
#!/usr/bin/env bash
|
|
if [ "$1" = "" ]; then
|
|
echo "No argument given."
|
|
exit 1
|
|
fi
|
|
|
|
if ! [ "$2" = "" ]; then
|
|
echo "Only one argument can be given."
|
|
exit 1
|
|
fi
|