dignified
asked on
Very Simple BASH Question with Conditional Expressions
I just want to do a logical OR.
This line gives me errors:
if [ ("$v" != "") || ("$c" != "") ]; then
I get this error:
./dcmget: line 71: syntax error near unexpected token `"$v"'
./dcmget: line 71: ` if [ ("$v" != "") || ("$c" != "") ]; then'
I have tried a few variations but nothing seems to work.
This line gives me errors:
if [ ("$v" != "") || ("$c" != "") ]; then
I get this error:
./dcmget: line 71: syntax error near unexpected token `"$v"'
./dcmget: line 71: ` if [ ("$v" != "") || ("$c" != "") ]; then'
I have tried a few variations but nothing seems to work.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.