I get the error on the 7th line. Any ideas? I checked for spaces and there are none.
#!/bin/bash
if test $# -eq 0
then
echo "No arguments"
elif test $# -eq 1
echo "$1"
elif test $# -eq 2
echo "$1 $2"
else
echo "More than 2 arguments"
fi
“and”? Can you make sure they are"throughout?