[cs631apue] ls -d

Jan Schaumann jschauma at stevens.edu
Fri Nov 4 20:18:12 EDT 2011


Another thing that some of you got points taken off for was the case

$ ./ls -d

did not list the current working directory (ie ".") the way ls(1) does:

$ ls -d

If your program did do the following:

$ ./ls -da

then you got another point returned to you, since I agree that there is
some confusion about how to handle such a case.

(And I'll note that this might be a good example of asking for
clarification as well comparing to what the reference implementation


More information about the cs631apue mailing list