[cs631apue] ls testdir

Jan Schaumann jschauma at stevens.edu
Sat Oct 6 13:58:20 EDT 2018


All,

Here's a script that creates a directory with a number of files in it
that tickle some of the edge cases in your ls implementation:

https://stevens.netmeister.org/631/makelstest

Download the file and run it on your NetBSD system:

ftp https://stevens.netmeister.org/631/makelstest
sh makelstest
cd testdir
ls -l

Then compare the output of your program in that directory to that of the
system provided ls(1).

-Jan


More information about the cs631apue mailing list