Update torso.sh
Adding a missing period in first error message.
This commit is contained in:
2
torso.sh
2
torso.sh
@@ -10,7 +10,7 @@ while getopts ":n:" opt; do
|
|||||||
n)
|
n)
|
||||||
re='^[0-9]+$'
|
re='^[0-9]+$'
|
||||||
if ! [[ $OPTARG =~ $re ]] ; then
|
if ! [[ $OPTARG =~ $re ]] ; then
|
||||||
echo "Option -n requires a numeric argument"
|
echo "Option -n requires a numeric argument."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
lines=$(($OPTARG - 1))
|
lines=$(($OPTARG - 1))
|
||||||
|
|||||||
Reference in New Issue
Block a user