The chmod "preserve ctime on no-op" idea conflicts with
tests/chmod/only-op.sh, which requires always calling chmod(2)
so operations like 'chmod + /' still fail for non-root.

printf %a is already covered via the printf-posix gnulib module
and documented in --help.

ls already has --format=WORD for layout modes; note that a
custom per-entry template would need a different option name.

* TODO: Remove chmod ctime and printf %a entries.
Clarify the ls --format item.

Signed-off-by: Iván Ezequiel Rodriguez <[email protected]>
---
 TODO | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/TODO b/TODO
index 07e95f7..42ce583 100644
--- a/TODO
+++ b/TODO
@@ -5,12 +5,6 @@ longer pertinent, please search the mailing list and post your 
intent
 before embarking on a big project.
 
 ==================================================
-Modify chmod so that it does not change an inode's st_ctime
-  when the selected operation would have no other effect.
-  First suggested by Hans Ecke <https://hans.ecke.ws> in
-    https://lists.gnu.org/r/bug-coreutils/2004-09/msg00145.html
-  Discussed more recently on <https://bugs.debian.org/497514>.
-
 Suggestion from Paul Eggert:
   More generally, there's not that much use for imaxtostr nowadays,
   since the inttypes module and newer versions of gettext allow things
@@ -24,12 +18,6 @@ cp --recursive: use fts and *at functions to perform 
directory traversals
   become very long, and requires space and time that is quadratic in the
   depth of the hierarchy.  [Bo Borgerson is working on this]
 
-printf:
-  Now that gnulib supports *printf("%a"), import one of the
-  *printf-posix modules so that printf(1) will support %a even on
-  platforms where the native *printf(3) is deficient.
-  Suggestion from Eric Blake.
-
 consider adding some implementation of the "col" utility
   Suggested by Karl Berry.
 
@@ -37,7 +25,9 @@ doc/coreutils.texi:
   Address this comment: FIXME: mv's behavior in this case is system-dependent
   Better still: fix the code so it's *not* system-dependent.
 
-ls: add --format=FORMAT option that controls how each line is printed.
+ls: custom per-entry output template (not --format=WORD, which already
+  selects across/commas/long/…).  Would need a new option name
+  (e.g. --printf) and a design discussion; do not overload --format.
 
 copy.c: Address the FIXME-maybe comment in copy_internal.
 And once that's done, add an exclusion so that 'cp --link'
-- 
2.43.0




Reply via email to