diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 3327f4d488a..959b1e3ea25 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -363,9 +363,15 @@ The following is how to do an .Nm listing sorted by size (and shows why .Nm -does not need this functionality). +does not need a separate option for this): .Pp -.Dl "% ls -l | sort [-r] -n +4" +.Dl "ls -l | sort -n +4" +.Pp +Additionally, you may want to use the +.Fl r +flag to +.Xr sort 1 +to get the results sorted from largest to smallest (a reverse sort). .Sh DIAGNOSTICS The .Nm