8000 touch: fix f flag by VenetiaFurtado · Pull Request #8274 · uutils/coreutils · GitHub
[go: up one dir, main page]

Skip to content

touch: fix f flag #8274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

VenetiaFurtado
Copy link

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

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 <sylvestre@debian.org>
@VenetiaFurtado
Copy link
Author

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

I'm working on it..

@VenetiaFurtado
Copy link
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.

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
3 participants
0