This is in relation to an old bug listed here.

http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00181.html

I happened to be using an old copy of coreutils and noticed many of the old options status -c, atime -u, access -u, use -u did not work. The patch in the thread got rid of them but I had already implemented the functionality. Attached to this e-mail is a patch to add it back in, comments welcome. I was not sure exactly how the translations of the docs updated but included my best stab at it in there. If someone could point me to something that details the development flow for the docs that would be appreciated.


Mike
diff -ur coreutils-6.9/man/dir.1 coreutils-6.9-sortl/man/dir.1
--- coreutils-6.9/man/dir.1     2007-03-22 17:21:48.000000000 -0400
+++ coreutils-6.9-sortl/man/dir.1       2007-05-02 19:12:13.000000000 -0400
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
-.TH DIR "1" "March 2007" "GNU coreutils 6.9" "User Commands"
+.TH DIR "1" "May 2007" "GNU coreutils 6.9" "User Commands"
 .SH NAME
 dir \- list directory contents
 .SH SYNOPSIS
@@ -161,6 +161,7 @@
 \fB\-\-sort\fR=\fIWORD\fR
 sort by WORD instead of name: none \fB\-U\fR,
 extension \fB\-X\fR, size \fB\-S\fR, time \fB\-t\fR, version \fB\-v\fR
+status \fB\-c\fR, atime \fB\-u\fR, access \fB\-u\fR, use\-u
 .TP
 \fB\-\-time\fR=\fIWORD\fR
 with \fB\-l\fR, show time as WORD instead of modification
diff -ur coreutils-6.9/man/ls.1 coreutils-6.9-sortl/man/ls.1
--- coreutils-6.9/man/ls.1      2007-03-22 17:21:51.000000000 -0400
+++ coreutils-6.9-sortl/man/ls.1        2007-05-02 19:12:13.000000000 -0400
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
-.TH LS "1" "March 2007" "GNU coreutils 6.9" "User Commands"
+.TH LS "1" "May 2007" "GNU coreutils 6.9" "User Commands"
 .SH NAME
 ls \- list directory contents
 .SH SYNOPSIS
@@ -161,6 +161,7 @@
 \fB\-\-sort\fR=\fIWORD\fR
 sort by WORD instead of name: none \fB\-U\fR,
 extension \fB\-X\fR, size \fB\-S\fR, time \fB\-t\fR, version \fB\-v\fR
+status \fB\-c\fR, atime \fB\-u\fR, access \fB\-u\fR, use\-u
 .TP
 \fB\-\-time\fR=\fIWORD\fR
 with \fB\-l\fR, show time as WORD instead of modification
diff -ur coreutils-6.9/man/vdir.1 coreutils-6.9-sortl/man/vdir.1
--- coreutils-6.9/man/vdir.1    2007-03-22 17:21:55.000000000 -0400
+++ coreutils-6.9-sortl/man/vdir.1      2007-05-02 19:12:13.000000000 -0400
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
-.TH VDIR "1" "March 2007" "GNU coreutils 6.9" "User Commands"
+.TH VDIR "1" "May 2007" "GNU coreutils 6.9" "User Commands"
 .SH NAME
 vdir \- list directory contents
 .SH SYNOPSIS
@@ -161,6 +161,7 @@
 \fB\-\-sort\fR=\fIWORD\fR
 sort by WORD instead of name: none \fB\-U\fR,
 extension \fB\-X\fR, size \fB\-S\fR, time \fB\-t\fR, version \fB\-v\fR
+status \fB\-c\fR, atime \fB\-u\fR, access \fB\-u\fR, use\-u
 .TP
 \fB\-\-time\fR=\fIWORD\fR
 with \fB\-l\fR, show time as WORD instead of modification
diff -ur coreutils-6.9/po/af.po coreutils-6.9-sortl/po/af.po
--- coreutils-6.9/po/af.po      2007-03-20 03:37:54.000000000 -0400
+++ coreutils-6.9-sortl/po/af.po        2007-05-02 19:36:37.000000000 -0400
@@ -3950,6 +3950,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: af.po~
diff -ur coreutils-6.9/po/be.po coreutils-6.9-sortl/po/be.po
--- coreutils-6.9/po/be.po      2007-03-20 03:37:53.000000000 -0400
+++ coreutils-6.9-sortl/po/be.po        2007-05-02 19:36:39.000000000 -0400
@@ -4305,6 +4305,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: be.po~
Binary files coreutils-6.9/po/bg.gmo and coreutils-6.9-sortl/po/bg.gmo differ
diff -ur coreutils-6.9/po/bg.po coreutils-6.9-sortl/po/bg.po
--- coreutils-6.9/po/bg.po      2007-03-20 03:37:54.000000000 -0400
+++ coreutils-6.9-sortl/po/bg.po        2007-05-02 19:36:43.000000000 -0400
@@ -4806,10 +4806,12 @@
 "  -s, --size                 ?????????????? ?????????????? ?? ?????????????? 
???? ?????????? ????????\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: bg.po~
diff -ur coreutils-6.9/po/ca.po coreutils-6.9-sortl/po/ca.po
--- coreutils-6.9/po/ca.po      2007-03-20 03:37:54.000000000 -0400
+++ coreutils-6.9-sortl/po/ca.po        2007-05-02 19:36:46.000000000 -0400
@@ -5239,6 +5239,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: ca.po~
diff -ur coreutils-6.9/po/coreutils.pot coreutils-6.9-sortl/po/coreutils.pot
--- coreutils-6.9/po/coreutils.pot      2007-03-20 03:37:53.000000000 -0400
+++ coreutils-6.9-sortl/po/coreutils.pot        2007-05-02 19:34:26.000000000 
-0400
@@ -3807,6 +3807,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
diff -ur coreutils-6.9/po/cs.po coreutils-6.9-sortl/po/cs.po
--- coreutils-6.9/po/cs.po      2007-03-20 03:37:54.000000000 -0400
+++ coreutils-6.9-sortl/po/cs.po        2007-05-02 19:36:50.000000000 -0400
@@ -4341,6 +4341,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: cs.po~
diff -ur coreutils-6.9/po/da.po coreutils-6.9-sortl/po/da.po
--- coreutils-6.9/po/da.po      2007-03-20 03:37:54.000000000 -0400
+++ coreutils-6.9-sortl/po/da.po        2007-05-02 19:36:53.000000000 -0400
@@ -4553,6 +4553,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: da.po~
Binary files coreutils-6.9/po/de.gmo and coreutils-6.9-sortl/po/de.gmo differ
diff -ur coreutils-6.9/po/de.po coreutils-6.9-sortl/po/de.po
--- coreutils-6.9/po/de.po      2007-03-20 03:37:55.000000000 -0400
+++ coreutils-6.9-sortl/po/de.po        2007-05-02 19:36:56.000000000 -0400
@@ -4837,10 +4837,12 @@
 "  -s, --size                 die Gr????e jeder Datei in Bl??cken ausgeben\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: de.po~
diff -ur coreutils-6.9/po/el.po coreutils-6.9-sortl/po/el.po
--- coreutils-6.9/po/el.po      2007-03-20 03:37:55.000000000 -0400
+++ coreutils-6.9-sortl/po/el.po        2007-05-02 19:37:00.000000000 -0400
@@ -4628,6 +4628,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: el.po~
diff -ur coreutils-6.9/po/es.po coreutils-6.9-sortl/po/es.po
--- coreutils-6.9/po/es.po      2007-03-20 03:37:55.000000000 -0400
+++ coreutils-6.9-sortl/po/es.po        2007-05-02 19:37:04.000000000 -0400
@@ -5207,6 +5207,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: es.po~
Binary files coreutils-6.9/po/et.gmo and coreutils-6.9-sortl/po/et.gmo differ
diff -ur coreutils-6.9/po/et.po coreutils-6.9-sortl/po/et.po
--- coreutils-6.9/po/et.po      2007-03-20 03:37:56.000000000 -0400
+++ coreutils-6.9-sortl/po/et.po        2007-05-02 19:37:08.000000000 -0400
@@ -4650,10 +4650,12 @@
 "  -s, --size                 v?ljasta iga faili suurus plokkides\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: et.po~
diff -ur coreutils-6.9/po/eu.po coreutils-6.9-sortl/po/eu.po
--- coreutils-6.9/po/eu.po      2007-03-20 03:37:55.000000000 -0400
+++ coreutils-6.9-sortl/po/eu.po        2007-05-02 19:37:13.000000000 -0400
@@ -4455,6 +4455,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: eu.po~
diff -ur coreutils-6.9/po/fi.po coreutils-6.9-sortl/po/fi.po
--- coreutils-6.9/po/fi.po      2007-03-20 03:37:56.000000000 -0400
+++ coreutils-6.9-sortl/po/fi.po        2007-05-02 19:37:16.000000000 -0400
@@ -4740,6 +4740,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: fi.po~
diff -ur coreutils-6.9/po/fr.po coreutils-6.9-sortl/po/fr.po
--- coreutils-6.9/po/fr.po      2007-03-20 03:37:56.000000000 -0400
+++ coreutils-6.9-sortl/po/fr.po        2007-05-02 19:37:20.000000000 -0400
@@ -4901,6 +4901,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: fr.po~
Binary files coreutils-6.9/po/ga.gmo and coreutils-6.9-sortl/po/ga.gmo differ
diff -ur coreutils-6.9/po/ga.po coreutils-6.9-sortl/po/ga.po
--- coreutils-6.9/po/ga.po      2007-03-20 03:37:56.000000000 -0400
+++ coreutils-6.9-sortl/po/ga.po        2007-05-02 19:37:24.000000000 -0400
@@ -4725,10 +4725,12 @@
 "  -s, --size                 taispe?in an mh?id de gach comhad (bloic)\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: ga.po~
diff -ur coreutils-6.9/po/gl.po coreutils-6.9-sortl/po/gl.po
--- coreutils-6.9/po/gl.po      2007-03-20 03:37:57.000000000 -0400
+++ coreutils-6.9-sortl/po/gl.po        2007-05-02 19:37:27.000000000 -0400
@@ -4319,6 +4319,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: gl.po~
Binary files coreutils-6.9/po/hu.gmo and coreutils-6.9-sortl/po/hu.gmo differ
diff -ur coreutils-6.9/po/hu.po coreutils-6.9-sortl/po/hu.po
--- coreutils-6.9/po/hu.po      2007-03-20 03:37:56.000000000 -0400
+++ coreutils-6.9-sortl/po/hu.po        2007-05-02 19:37:30.000000000 -0400
@@ -4817,10 +4817,12 @@
 "  -s, --size                 ki??rja az egyes f??jlok m??ret??t blokkban\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: hu.po~
diff -ur coreutils-6.9/po/it.po coreutils-6.9-sortl/po/it.po
--- coreutils-6.9/po/it.po      2007-03-20 03:37:57.000000000 -0400
+++ coreutils-6.9-sortl/po/it.po        2007-05-02 19:37:33.000000000 -0400
@@ -4493,6 +4493,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: it.po~
diff -ur coreutils-6.9/po/ja.po coreutils-6.9-sortl/po/ja.po
--- coreutils-6.9/po/ja.po      2007-03-20 03:37:57.000000000 -0400
+++ coreutils-6.9-sortl/po/ja.po        2007-05-02 19:37:38.000000000 -0400
@@ -4516,6 +4516,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: ja.po~
diff -ur coreutils-6.9/po/ko.po coreutils-6.9-sortl/po/ko.po
--- coreutils-6.9/po/ko.po      2007-03-20 03:37:57.000000000 -0400
+++ coreutils-6.9-sortl/po/ko.po        2007-05-02 19:37:41.000000000 -0400
@@ -4201,6 +4201,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: ko.po~
diff -ur coreutils-6.9/po/ms.po coreutils-6.9-sortl/po/ms.po
--- coreutils-6.9/po/ms.po      2007-03-20 03:37:57.000000000 -0400
+++ coreutils-6.9-sortl/po/ms.po        2007-05-02 19:37:43.000000000 -0400
@@ -4134,6 +4134,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: ms.po~
diff -ur coreutils-6.9/po/nb.po coreutils-6.9-sortl/po/nb.po
--- coreutils-6.9/po/nb.po      2007-03-20 03:37:58.000000000 -0400
+++ coreutils-6.9-sortl/po/nb.po        2007-05-02 19:37:46.000000000 -0400
@@ -4000,6 +4000,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: nb.po~
Binary files coreutils-6.9/po/nl.gmo and coreutils-6.9-sortl/po/nl.gmo differ
diff -ur coreutils-6.9/po/nl.po coreutils-6.9-sortl/po/nl.po
--- coreutils-6.9/po/nl.po      2007-03-20 03:37:58.000000000 -0400
+++ coreutils-6.9-sortl/po/nl.po        2007-05-02 19:37:50.000000000 -0400
@@ -4813,10 +4813,12 @@
 "  -s, --size                 toon de grootte van ieder bestand in blokken\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: nl.po~
diff -ur coreutils-6.9/po/no.po coreutils-6.9-sortl/po/no.po
--- coreutils-6.9/po/no.po      2007-03-20 03:37:58.000000000 -0400
+++ coreutils-6.9-sortl/po/no.po        2007-05-02 19:37:55.000000000 -0400
@@ -4231,6 +4231,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: no.po~
Binary files coreutils-6.9/po/pl.gmo and coreutils-6.9-sortl/po/pl.gmo differ
diff -ur coreutils-6.9/po/pl.po coreutils-6.9-sortl/po/pl.po
--- coreutils-6.9/po/pl.po      2007-03-20 03:37:58.000000000 -0400
+++ coreutils-6.9-sortl/po/pl.po        2007-05-02 19:38:00.000000000 -0400
@@ -4753,10 +4753,12 @@
 "plik\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: pl.po~
diff -ur coreutils-6.9/po/pt_BR.po coreutils-6.9-sortl/po/pt_BR.po
--- coreutils-6.9/po/pt_BR.po   2007-03-20 03:37:59.000000000 -0400
+++ coreutils-6.9-sortl/po/pt_BR.po     2007-05-02 19:38:06.000000000 -0400
@@ -4373,6 +4373,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: pt_BR.po~
diff -ur coreutils-6.9/po/pt.po coreutils-6.9-sortl/po/pt.po
--- coreutils-6.9/po/pt.po      2007-03-20 03:37:58.000000000 -0400
+++ coreutils-6.9-sortl/po/pt.po        2007-05-02 19:38:03.000000000 -0400
@@ -4147,6 +4147,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: pt.po~
Binary files coreutils-6.9/po/ru.gmo and coreutils-6.9-sortl/po/ru.gmo differ
diff -ur coreutils-6.9/po/ru.po coreutils-6.9-sortl/po/ru.po
--- coreutils-6.9/po/ru.po      2007-03-20 03:37:59.000000000 -0400
+++ coreutils-6.9-sortl/po/ru.po        2007-05-02 19:38:11.000000000 -0400
@@ -4752,10 +4752,12 @@
 "  -s, --size                 ???????? ?????? ??????? ?????, ? ??????\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: ru.po~
diff -ur coreutils-6.9/po/rw.po coreutils-6.9-sortl/po/rw.po
--- coreutils-6.9/po/rw.po      2007-03-20 03:37:59.000000000 -0400
+++ coreutils-6.9-sortl/po/rw.po        2007-05-02 19:38:14.000000000 -0400
@@ -4423,6 +4423,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: rw.po~
diff -ur coreutils-6.9/po/sk.po coreutils-6.9-sortl/po/sk.po
--- coreutils-6.9/po/sk.po      2007-03-20 03:37:59.000000000 -0400
+++ coreutils-6.9-sortl/po/sk.po        2007-05-02 19:38:18.000000000 -0400
@@ -4284,6 +4284,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: sk.po~
Binary files coreutils-6.9/po/sl.gmo and coreutils-6.9-sortl/po/sl.gmo differ
diff -ur coreutils-6.9/po/sl.po coreutils-6.9-sortl/po/sl.po
--- coreutils-6.9/po/sl.po      2007-03-20 03:37:59.000000000 -0400
+++ coreutils-6.9-sortl/po/sl.po        2007-05-02 19:38:22.000000000 -0400
@@ -4778,10 +4778,12 @@
 "blokih)\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: sl.po~
Binary files coreutils-6.9/po/sv.gmo and coreutils-6.9-sortl/po/sv.gmo differ
diff -ur coreutils-6.9/po/sv.po coreutils-6.9-sortl/po/sv.po
--- coreutils-6.9/po/sv.po      2007-03-20 03:38:00.000000000 -0400
+++ coreutils-6.9-sortl/po/sv.po        2007-05-02 19:38:25.000000000 -0400
@@ -4680,10 +4680,12 @@
 "  -s, --size                 skriv storleken i block f?r varje fil\n"
 
 #: src/ls.c:4373
+#, fuzzy
 msgid ""
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: sv.po~
diff -ur coreutils-6.9/po/tr.po coreutils-6.9-sortl/po/tr.po
--- coreutils-6.9/po/tr.po      2007-03-20 03:37:59.000000000 -0400
+++ coreutils-6.9-sortl/po/tr.po        2007-05-02 19:38:29.000000000 -0400
@@ -4758,6 +4758,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: tr.po~
diff -ur coreutils-6.9/po/zh_CN.po coreutils-6.9-sortl/po/zh_CN.po
--- coreutils-6.9/po/zh_CN.po   2007-03-20 03:38:00.000000000 -0400
+++ coreutils-6.9-sortl/po/zh_CN.po     2007-05-02 19:38:32.000000000 -0400
@@ -4250,6 +4250,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: zh_CN.po~
diff -ur coreutils-6.9/po/zh_TW.po coreutils-6.9-sortl/po/zh_TW.po
--- coreutils-6.9/po/zh_TW.po   2007-03-20 03:38:00.000000000 -0400
+++ coreutils-6.9-sortl/po/zh_TW.po     2007-05-02 19:38:35.000000000 -0400
@@ -4413,6 +4413,7 @@
 "  -S                         sort by file size\n"
 "      --sort=WORD            sort by WORD instead of name: none -U,\n"
 "                             extension -X, size -S, time -t, version -v\n"
+"                             status -c, atime -u, access -u, use -u\n"
 "      --time=WORD            with -l, show time as WORD instead of "
 "modification\n"
 "                             time: atime -u, access -u, use -u, ctime -c,\n"
Only in coreutils-6.9-sortl/po: zh_TW.po~
diff -ur coreutils-6.9/src/ls.c coreutils-6.9-sortl/src/ls.c
--- coreutils-6.9/src/ls.c      2007-03-18 17:36:43.000000000 -0400
+++ coreutils-6.9-sortl/src/ls.c        2007-05-02 19:08:56.000000000 -0400
@@ -413,6 +413,8 @@
     sort_size,                 /* -S */
     sort_version,              /* -v */
     sort_time,                 /* -t */
+    sort_ctime,                        /* -c */
+    sort_atime,                        /* -u */
     sort_numtypes              /* the number of elements of this enum */
   };
 
@@ -807,11 +809,11 @@
 
 static char const *const sort_args[] =
 {
-  "none", "time", "size", "extension", "version", NULL
+  "none", "time", "size", "extension", "version", "status", "atime", "access", 
"use", NULL
 };
 static enum sort_type const sort_types[] =
 {
-  sort_none, sort_time, sort_size, sort_extension, sort_version
+  sort_none, sort_time, sort_size, sort_extension, sort_version, sort_ctime, 
sort_atime, sort_atime, sort_atime
 };
 ARGMATCH_VERIFY (sort_args, sort_types);
 
@@ -1738,6 +1740,16 @@
 
        case SORT_OPTION:
          sort_type = XARGMATCH ("--sort", optarg, sort_args, sort_types);
+         if (sort_type == sort_ctime) 
+         {
+            time_type = time_ctime;
+            sort_type = sort_time;
+         }
+         if (sort_type == sort_atime)
+         {
+            time_type = time_atime;
+            sort_type = sort_time;
+         }
          sort_type_specified = true;
          break;
 
@@ -3117,9 +3129,12 @@
    time_numtypes possible sortkeys.
 
    This line verifies at compile-time that the array of sort functions has been
-   initialized for all possible sortkeys. */
+   initialized for all possible sortkeys. 
+   
+   Subtract two for the "bogus" sort_ctime and sort_atime
+*/
 verify (ARRAY_CARDINALITY (sort_functions)
-       == sort_numtypes + time_numtypes - 1 );
+       == sort_numtypes + time_numtypes - 1 - 2);
 
 /* Set up SORTED_FILE to point to the in-use entries in CWD_FILE, in order.  */
 
@@ -4374,6 +4389,7 @@
   -S                         sort by file size\n\
       --sort=WORD            sort by WORD instead of name: none -U,\n\
                              extension -X, size -S, time -t, version -v\n\
+                             status -c, atime -u, access -u, use-u\n\
       --time=WORD            with -l, show time as WORD instead of 
modification\n\
                              time: atime -u, access -u, use -u, ctime -c,\n\
                              or status -c; use specified time as sort key\n\
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to