[cs631apue] Second level sorting with -c, -S, -u

Jan Schaumann jschauma at stevens.edu
Sat Oct 18 14:18:42 EDT 2014

sshah83 <sshah83 at stevens.edu> wrote:

> Do we have to do 2nd level of sorting for other sorting types too?

Think about what makes the most sense for the user.

If you know that sorting will be lexicographical by default, and by time
modified first, but then lexicographical for files with identical time
stamps, what would you expect the behaviour to be when you specify a
different timestamp to sort by?

You can also compare what the system provided tool does and see if that
makes sense to you.


More information about the cs631apue mailing list