PREV INDEX NEXT

Author: Unknown
Subject: "-" in parsing
Date: Wednesday, 16 Sep 2020, 22:47:02

When I run /c/cs323/Hwk1/fiend . - . , the program traverses my current directory once, then prints "stat(-) failed", then traverse the directory again (the same behavior as find). However, according to the spec, shouldn't the lone hyphen cause a parsing error, since the lone hyphen ends the list of FILENAMES and is therefore an invalid expression flag?
PREV INDEX NEXT