Author: Richard Habeeb
Subject: Re: [Cs323] -o and -a
Date: Friday, 11 Sep 2020, 12:59:07
The -a has higher precedence than the -o. So the order of operations would work like this: (A & B) | C -Richard On 9/10/20 9:27 PM, Unknown wrote: > Message Posted By: Unknown > > Sorry, I mean could you explain why the output is as such? > Since -name "t" is false, the program won't proceed to execute what is on the right side of "-a" > > [@giraffe hw1]$ /c/cs323/Hwk1/fiend -L -P -L test -name "t" -a -print -o -print > test > test/test.c > test/test > test/test/test.c > test/linktest > test/linktest/sfPREV INDEX NEXT