aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index edb6300ba..7b65d049e 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -6,7 +6,7 @@
6 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 6 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
7 */ 7 */
8 8
9/* 9/* [date unknown. Perhaps before year 2000]
10 * To achieve a small memory footprint, this version of 'ls' doesn't do any 10 * To achieve a small memory footprint, this version of 'ls' doesn't do any
11 * file sorting, and only has the most essential command line switches 11 * file sorting, and only has the most essential command line switches
12 * (i.e., the ones I couldn't live without :-) All features which involve 12 * (i.e., the ones I couldn't live without :-) All features which involve
@@ -18,8 +18,7 @@
18 * 18 *
19 * KNOWN BUGS: 19 * KNOWN BUGS:
20 * 1. ls -l of a directory doesn't give "total <blocks>" header 20 * 1. ls -l of a directory doesn't give "total <blocks>" header
21 * 2. ls of a symlink to a directory doesn't list directory contents 21 * 2. hidden files can make column width too large
22 * 3. hidden files can make column width too large
23 * 22 *
24 * NON-OPTIMAL BEHAVIOUR: 23 * NON-OPTIMAL BEHAVIOUR:
25 * 1. autowidth reads directories twice 24 * 1. autowidth reads directories twice
@@ -27,6 +26,9 @@
27 * appended, there's no need to stat each one 26 * appended, there's no need to stat each one
28 * PORTABILITY: 27 * PORTABILITY:
29 * 1. requires lstat (BSD) - how do you do it without? 28 * 1. requires lstat (BSD) - how do you do it without?
29 *
30 * [2009-03]
31 * ls sorts listing now, and supports almost all options.
30 */ 32 */
31 33
32#include "libbb.h" 34#include "libbb.h"