diff options
author | dd <dd@FreeBSD.org> | 2005-06-03 11:05:58 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2005-06-03 11:05:58 +0000 |
commit | 99a2093aa5adcd2cfd2e9f9985142318d188b080 (patch) | |
tree | 9bcf1fb5bb7f5fa54b12f829708d0a6ab8840ca2 /bin/ls/extern.h | |
parent | 899df482c7480cb865309c0da379b01d4546521d (diff) | |
download | FreeBSD-src-99a2093aa5adcd2cfd2e9f9985142318d188b080.zip FreeBSD-src-99a2093aa5adcd2cfd2e9f9985142318d188b080.tar.gz |
Add the -S option to sort files by size. NetBSD and OpenBSD already
have this option with identical semantics (sorting large files first).
-r can be used to reverse the sort if that is desired.
PR: 81625
Submitted by: Kostas Blekos <mplekos@physics.upatras.gr>, keramida
Diffstat (limited to 'bin/ls/extern.h')
-rw-r--r-- | bin/ls/extern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ls/extern.h b/bin/ls/extern.h index 52b6a85..02a61f5 100644 --- a/bin/ls/extern.h +++ b/bin/ls/extern.h @@ -38,6 +38,8 @@ int namecmp(const FTSENT *, const FTSENT *); int revnamecmp(const FTSENT *, const FTSENT *); int statcmp(const FTSENT *, const FTSENT *); int revstatcmp(const FTSENT *, const FTSENT *); +int sizecmp(const FTSENT *, const FTSENT *); +int revsizecmp(const FTSENT *, const FTSENT *); void printcol(const DISPLAY *); void printlong(const DISPLAY *); |