[cs631apue] sorting files containing a dot
Jan Schaumann
jschauma at stevens.edu
Thu Sep 22 11:27:45 EDT 2016
mseaton <mseaton at stevens.edu> wrote:
> I wish I saw your email earlier, I already began implementing such a
> sort. I pretty much spent a good deal of time last night doing so, it's
> all good, good practice for myself and also good to perhaps follow what
> the standard ls does.
The "standard ls" is that which is defined in the POSIX standard:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html
I recommend strongly against writing a single line of code that is not
absolutely necessary: chances are, it will introduce bugs.
To quote Ken Thompson:
"One of my most productive days was throwing away 1000 lines of code."
-Jan
More information about the cs631apue
mailing list