Skip to content

Document hashondef and nolog options for POSIX.1-2024 #168

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

magicant
Copy link
Owner

@magicant magicant commented May 8, 2025

POSIX.1-2024 no longer defines the behavior of the -h and -o nolog options because they are implemented differently in different shells. This commit updates the documentation to reflect this change.

Summary by Copilot

This pull request updates the documentation for the nolog and hash-on-def options in both English and Japanese files to clarify their behavior and compatibility with POSIX standards and other shells.

Documentation updates:

  • doc/_set.txt: Updated the description of the nolog option to clarify its historical behavior in older Korn shells and its lack of support in modern shells. Added details about the hash-on-def option, explaining its behavior based on POSIX.1-2001 and noting that POSIX.1-2024 no longer specifies its behavior.

  • doc/ja/_set.txt: Provided a similar update in Japanese, explaining the historical behavior of the nolog option and its lack of support in most modern shells. Also added an explanation of the hash-on-def option's behavior and its evolution in POSIX standards.

@magicant magicant added this to the 2.59 milestone May 8, 2025
@magicant magicant self-assigned this May 8, 2025
POSIX.1-2024 no longer defines the behavior of the -h and -o nolog
options because they are implemented differently in different shells.
This commit updates the documentation to reflect this change.
@magicant magicant force-pushed the shell-option-doc branch from d42fd1a to d281a2c Compare May 8, 2025 16:03
@magicant magicant mentioned this pull request May 8, 2025
56 tasks
@magicant magicant merged commit 501a421 into trunk May 9, 2025
5 checks passed
@magicant magicant deleted the shell-option-doc branch May 9, 2025 13:56
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.

1 participant