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

sman: init at 0.2.0 #76668

Closed
wants to merge 1 commit into from
Closed

sman: init at 0.2.0 #76668

wants to merge 1 commit into from

Conversation

@jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Dec 29, 2019

Old utility of mine for selecting manpage section to be opened

https://github.com/jtojnar/sman

@ryantm
ryantm approved these changes Jan 6, 2020
Copy link
Member

@ryantm ryantm left a comment

seems to work when testing binary, all of the sections seem to have the same name for sman grep, but maybe that is expected behavior?

@jtojnar
Copy link
Contributor Author

@jtojnar jtojnar commented Jan 6, 2020

I see two different greps:

Screenshot from 2020-01-06 12-49-33

@ryantm
Copy link
Member

@ryantm ryantm commented Jan 6, 2020

I ran sman grep and got

image

@ryantm
Copy link
Member

@ryantm ryantm commented Jan 7, 2020

It looks like I probably just don't have the grep (3p) man page installed.

I played around with some other ones and noticed something that seems wrong:
image
It looks like it assumes whatever is after the first period is the section.

@jtojnar
Copy link
Contributor Author

@jtojnar jtojnar commented Jan 11, 2020

I fixed these issues in 0.3.0 but in the end I have decided to switch to man --where --all $page | fzf | xargs man instead.

@jtojnar jtojnar closed this Jan 11, 2020
@jtojnar jtojnar deleted the jtojnar:sman branch Jan 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.