From 9ad3c1f1f7bb1fe455885f1d80ea8b2ddcadd107 Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 21 Jul 2001 05:01:50 +0000 Subject: Show an example of how to sort a file listing by size. Hopefully this will reduce the number of people calling for this functionality to be added to ls(1). --- bin/ls/ls.1 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin') diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 8728d7a..164e32d 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -358,6 +358,14 @@ or .Xr sticky 8 . ) .El .El +.Sh EXAMPLES +The following is how to do an +.Nm +listing sorted by size (and shows why +.Nm +does not need this functionality. +.Pp +.Dl "% ls -l | sort [-r] -n +4" .Sh DIAGNOSTICS The .Nm @@ -525,6 +533,7 @@ specification. .Sh SEE ALSO .Xr chflags 1 , .Xr chmod 1 , +.Xr sort 1 , .Xr xterm 1 , .Xr termcap 5 , .Xr symlink 7 , -- cgit v1.1