i was going through some patches Gentoo has for coreutils to figure out which
are outdated/pointless/etc... with 5.3.0 when i came across this patch from
Mandrake:
--- src/ls.c
+++ src/ls.c
@@ -1612,5 +1612,7 @@
if (! style)
if (! (style = getenv ("TIME_STYLE")))
+ if (getenv ("POSIXLY_CORRECT"))
style = "posix-long-iso";
+ else style = "locale";
ignoring the broken formatting, i wonder if this change has been sent to the
list before for consideration (and i just couldnt find it in the archives) ?
the idea seems OK to me; the `ls -l` default format follows the user's locale
settings unless the env var POSIXLY_CORRET is set in which case we go with
the standard 'posix-long-iso' format
-mike
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils