19.1 The detect Command

pspp-output detect file

When file is an SPV file, pspp-output exits successfully without outputting anything. When file is not an SPV file or some other error occurs, pspp-output prints an error message and exits with a failure indication.