diff options
author | Rob Landley <rob@landley.net> | 2017-12-11 07:19:37 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-12-11 07:19:37 -0600 |
commit | bf1f0e357b6b1e7bd677ca41fc04ae3c5c5e6e70 (patch) | |
tree | b75f997c1023ecf4ab2c0a4bf070184fefdf415f /toys | |
parent | f1d364812e4e9c111d2d77026487b20a9081179d (diff) | |
download | toybox-bf1f0e357b6b1e7bd677ca41fc04ae3c5c5e6e70.tar.gz |
An incomplete list of deviations from posix (it's a start).
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/ls.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toys/posix/ls.c b/toys/posix/ls.c index 009653b8..2726630c 100644 --- a/toys/posix/ls.c +++ b/toys/posix/ls.c @@ -4,6 +4,13 @@ * Copyright 2012 Rob Landley <rob@landley.net> * * See http://opengroup.org/onlinepubs/9699919799/utilities/ls.html + * + * Deviations from posix: + * add -b (and default to it instead of -q for an unambiguous representation + * that doesn't cause collisions) + * add -Z -ll --color + * Posix says the -l date format should vary based on how recent it is + * and we do --time-style=long-iso instead USE_LS(NEWTOY(ls, USE_LS_COLOR("(color):;")"(full-time)(show-control-chars)ZgoACFHLRSabcdfhikl@mnpqrstux1[-Cxm1][-Cxml][-Cxmo][-Cxmg][-cu][-ftS][-HL][!qb]", TOYFLAG_BIN|TOYFLAG_LOCALE)) |