On Mär 22 2024, Pádraig Brady wrote: > Though I see bash 5.2.26 has issue with it :/ > > $ test \( -a \) -a \( -a \) > bash: test: `)' expected > > bash doesn't like the -a in particular, and is ok with other strings:
That's because in bash -a is ambiguous: -a FILE True if file exists. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."