-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
man(1) clarify searching + minor nits #1438
Conversation
7464aa7
to
5f1b617
Compare
I think these changes should be sensible and non-controversial, but perhaps controversially I'd love to:
|
6eba44e
to
78e96d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I love these incremental improvements. I wrote a few tiny nitpicks but for the most part I think this looks splendid.
This PR works on my machine and the build failures appear to be due to the build system being throttled, not a syntax error.
Thanks for the review! I worked egrep back into -K description. |
3234f6c
to
22d7ed7
Compare
this may need other changes, but can we not change whitespace on the man pages. |
I think this would be a major positive feature for 14.2. This is the introduction to manual pages, and the current explanations for the search features are only useful for people who already know what they mean. |
Last push removes prompts from examples for triple click copy/paste. Subsequent pushes just tweaking commit message. |
7b73d9c
to
55d7b77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, overall this is an improvement.
I have expressed the reasons why I do not agree with some of the proposed changes.
Thank you!
|
From a sincere place of caring, and with respect and reverence, I would like to humbly ask the masters to consider that this bikeshed is, in fact, 15% better than what I originally proposed. However, I had a watertight, painted bikeshed ready before the code slush, and now new users will be piling their bikes in the rain until June 2025, and complaining to me about it, and that hurts my feelings. You guys taught me everything, I am not going anywhere, but I am hurt. This negatively impacts me as the Manual Pages Mentor on the community discord. This negatively effects the perception of BSD doc culture when I am busy working, and new users ask how manual page search works (because This is about showing new users that structured, carefully considered information written by competent passionate people is more accessible than asking chatgpt to hallucinate disinformation at the cost of 2.9 WH per query. |
For completeness, I agree with the proposed changes, the way they are at this point in time, therefore "withdrawing" my objections. |
People are often stunned by robust manual search functionality on the community discord, so improve introductory doc regarding search by: + explain what search related flags do instead of using similies + consolidate and standardize search options in synopsis and usage + mention that a page or file can be specified in synopsis and example + call regular expressions `expression`, which searches to re_format(7) + crossreference the regular expression manual instead of egrep(1) + improve MANPATH xref flow and explanation, matching MAILPATH in sh(1) + mark up aditional semantics for their inclusion in apropos While here: + use consistent spacing and form (Ql) for quoted literals + clean a few linter errors regarding self xref and nospace + reset a list width to indent for consistency with style.mdoc + tidy examples + align files + tag spdx Outstanding: - example 3 shows no results on a typical bsdinstall'd system MFC after: 3 days Reviewed by: elliejs, emaste, Jessica Hawkwell, jlduran
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that you have a commit bit, you can land this yourself, no?
Approved-by: imp
since it pre-dated things. Though if your mentor wants everything to go through them, we can do that too.
Yes! Thank you! |
Attempt to clarify search while maintaining terseness. Inspired by conversations on community discord!
Unresolved:
man -Kk
, seems to start around line 600) is not working on CURRENT. I tried playing with it but I don't understand it enough yet.Cc @tetlowgm