On Tue, Jul 19 2022, Shaoxuan Yuan wrote: > + ! grep -x "H sub/d" actual && > + grep -x "S folder1/d" actual This *might* be a portability problem, but probably not. It's listed in POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html But it appears we have no "grep" use of the "-x" option in-tree, at least from what I found with grepping..