I'm in the process of porting over another shell script when I came across the following:
if [[ ! -x $DVDREC ]]; then
print "ERROR: $DVDREC not found. Exiting ..."
exit 1
fi
if [[ ! -c ${DVDDEV} ]]; then
print "ERROR: ${DVDDEV} not found. Exiting ..."
exit 1
fi
I was wondering what the -c and -x options actually do with regards to the strings stored in DVDREC and DVDDEV?