summaryrefslogtreecommitdiffstats
path: root/bin/ls
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2005-06-03 11:38:35 +0000
committerdd <dd@FreeBSD.org>2005-06-03 11:38:35 +0000
commitfd7de7f99aed4cf77b47d6e481520c493982b262 (patch)
tree4eb9f850ebb90ecf8a982bea232df7ac2bc18521 /bin/ls
parentf420c0c6508ea9c0dfa9b8f564c9c0075460ae26 (diff)
downloadFreeBSD-src-fd7de7f99aed4cf77b47d6e481520c493982b262.zip
FreeBSD-src-fd7de7f99aed4cf77b47d6e481520c493982b262.tar.gz
Remove the EXAMPLES section that describes how to sort by size using
sort(1). This functionality is provided by the -S option now, and it is useful even though a similar effect is achievable with sort(1), since the latter doesn't work in combination with -h. This option is also present in NetBSD, OpenBSD, and GNU fileutils, so there's clearly a demand for it. Noticed by: asmodai
Diffstat (limited to 'bin/ls')
-rw-r--r--bin/ls/ls.115
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index 71a4116..bb73dda 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -622,21 +622,6 @@ for more information.
.El
.Sh EXIT STATUS
.Ex -std
-.Sh EXAMPLES
-The following is how to do an
-.Nm
-listing sorted by size (and shows why
-.Nm
-does not need a separate option for this):
-.Pp
-.Dl "ls -l | sort -n +4"
-.Pp
-Additionally, the
-.Fl r
-flag to
-.Xr sort 1
-may be used
-to get the results sorted from largest to smallest (a reverse sort).
.Sh COMPATIBILITY
The group field is now automatically included in the long listing for
files in order to be compatible with the
OpenPOWER on IntegriCloud