+
Skip to content

Conversation

BenWiederhake
Copy link
Collaborator

Turns out, just a simple args_override_self(true) is precisely the correct behavior.

This is also correct with regard to -p, -w, -g; I checked (and found #6352, #6353, #6354 in the process of doing so).

This is work towards #5998.

Note that even though I added some basic tests, a huge chunk of the functionality is still untested, especially -c, -x/-X, -t, -m, -q, -T, and of course -g, which is broken (known issue).

@BenWiederhake
Copy link
Collaborator Author

Changes since last push: Forgot to commit the test data, whoops :D

@BenWiederhake
Copy link
Collaborator Author

Remaining failures are due to #6275 and #6333.

@BenWiederhake BenWiederhake requested a review from cakebaker May 5, 2024 04:43
@BenWiederhake BenWiederhake force-pushed the dev-fmt-repeated-args branch from 2097062 to 3277bcb Compare May 5, 2024 14:14
@BenWiederhake
Copy link
Collaborator Author

Changes since last push:

  • rebased
  • extracted common arg to common arg() (thanks @cakebaker!)
  • use stdout_is_fixture as appropriate (thanks @cakebaker!)

@BenWiederhake BenWiederhake force-pushed the dev-fmt-repeated-args branch from 3277bcb to a13949b Compare May 5, 2024 15:09
@BenWiederhake
Copy link
Collaborator Author

Changes since last push:

  • Now that at_and_ucmd is no longer needed, don't use it. (duh)

@cakebaker cakebaker merged commit f9b4fad into uutils:main May 5, 2024
@cakebaker
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载