Skip to content
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

Use POSIX standard -c flag for "touch" #490

Merged
merged 1 commit into from Sep 29, 2021
Merged

Conversation

citrus-it
Copy link
Contributor

@citrus-it citrus-it commented Sep 29, 2021

non-GNU systems like FreeBSD and illumos do not understand the long
"--no-create" flag to touch. POSIX defines that conforming implementations
must understand "-c" for this, so use the flag that is widely understood
(including by GNU touch).

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html

non-GNU systems like FreeBSD and illumos do not understand the long
"--no-create" flag to touch. POSIX defines that conforming implementations
must understand "-c" for this, so use the flag that is widely understood
(including by GNU touch).

    https://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html
@knadh knadh merged commit 0d8c036 into knadh:master Sep 29, 2021
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.

None yet

2 participants