Skip to content

Conversation

@VenetiaFurtado
Copy link
Contributor

Fixes #8270
Add support for the -f (force) flag in the touch utility.

@sylvestre
Copy link
Contributor

please add a test to make sure we don't regress

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

Co-authored-by: Sylvestre Ledru <[email protected]>
@VenetiaFurtado
Copy link
Contributor Author

please add a test to make sure we don't regress

I'm working on it..

@VenetiaFurtado
Copy link
Contributor Author

Just confirming, GNU touch utility explicitly documents its -f flag in --help, is it intended to be hidden in this implementation?

@satmandu
Copy link

Also fyi: https://www.gnu.org/software/coreutils/manual/html_node/touch-invocation.html

‘-f’
Ignored; for compatibility with BSD versions of touch.

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)

VenetiaFurtado and others added 2 commits June 28, 2025 10:36
Co-authored-by: Daniel Hofstetter <[email protected]>
Co-authored-by: Daniel Hofstetter <[email protected]>
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

@cakebaker cakebaker merged commit c64adee into uutils:main Jun 29, 2025
76 checks passed
@cakebaker
Copy link
Contributor

Thanks for your PR!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Touch missing '-f' flag

4 participants