Hi I want to include a simple logical OR expression in an if statement but I cannot find the correct syntax.
I have tried pipe (i.e. |) amd -a but can't seem to get either to work.
Here is what I have:
if [test ! -f "$location/parse.txt" -a $sizeOfParse = "0"]; then
I am using #!/bin/sh
Could anyone please advise me of the correct syntax.
Many Thanks