What does [ $# -eq 1 ] check in a shell script?
[ $# -eq 1 ]
Exactly one positional argument was supplied.
The previous command exited with status 1.
The input file contains exactly one line.
The first argument names an existing file.