At 2018-05-02T14:06:11-0400, Greg Wooledge wrote:
> > echo -n expect FALSE:
> > false ^ true && echo TRUE || echo FALSE
>
> > echo -n expect FALSE:
> > false ^ false && echo TRUE || echo FALSE
>
> It's also a really bad idea to chain && and || in the same command
> like this. It is NOT a synonym for "if ... then ... else ... fi",
> as I explain at <https://mywiki.wooledge.org/BashPitfalls#pf22>.
Yes, that was sloppy of me. I was lashing together the test cases in a
hurry. Meaning it's an even worse habit, as it was an unthinking one!
--
Regards,
Branden