Hi everyone. The script I am writing is basically moring out a file, and at the end of the file, I am asking if you would like to print the file. The problem I have is, I want my if statement to be equal to "y" or "Y". I thought it should be.
if [ $pans = "y" -o "Y" ]
then
lp -dpcl@pr7 (filename)
but it isn't working.
A little help would be nice. Thanks a lot.
Jason
Lowe's Home Improvement
if [ $pans = "y" -o "Y" ]
then
lp -dpcl@pr7 (filename)
but it isn't working.
A little help would be nice. Thanks a lot.
Jason
Lowe's Home Improvement