coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

date: Rework argument processing

Open RenjiSann opened this issue 1 year ago • 3 comments

This pull request addresses several points on the argument processing of date:

  • Enfore the mutual exclusivity of --date, --file, --reference, and --resolution (not yet implemented).
  • Successive --date, --file and --reference arguments override their previous introduction.

This is still work in progress, as I also would like to fix the distinction between FORMAT positional arguments (starting with +) and date positional arguments.

RenjiSann avatar Jul 10 '24 22:07 RenjiSann

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

github-actions[bot] avatar Jul 10 '24 22:07 github-actions[bot]

Doesn't this duplicate some of the work in https://github.com/uutils/coreutils/pull/6142 ?

BenWiederhake avatar Jul 14 '24 21:07 BenWiederhake

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/rm/rm2 is no longer failing!

github-actions[bot] avatar Jul 25 '24 23:07 github-actions[bot]

@RenjiSann it is still marked as draft, are you still working on it? thanks

sylvestre avatar Dec 02 '24 09:12 sylvestre

I am not working on this anymore. I don't really remember the context of it either. First, I'll try to finish the changes I want to bring to cksum before looking into another uutil.

RenjiSann avatar Dec 02 '24 09:12 RenjiSann