News for hackers. Stuff that matters.
Re:Things I Wish I'd Known About Bash by Pete_D on Saturday January 06, 2018 @01:06PM (#16086563)
If foo has a Texinfo manual (GNU tools like bash usually do) then you can try `info foo` and search the index with i or I for -p. Texinfo manuals also have hyperlinks you can press enter on.

info is a greatly underused system and I'd recommend any *nix users to spend some time learning how to navigate it.

Re:Things I Wish I'd Known About Bash by khedoros1 on Saturday January 06, 2018 @03:09PM (#16087172)
For bash: 'i' gives me "no indices found" and 'I' says "no index". I can do a '/' search, which finds some "-p" strings, but "n" doesn't work to find the next.

From some other comments, it sounds like "info" uses emacs at its core? So I suppose I'd have to learn some emacs commands, if that's the case.

Re:Things I Wish I'd Known About Bash by Pete_D on Saturday January 06, 2018 @03:27PM (#16087267)
info works without emacs, but some people prefer emacs' info viewer to the console one. The console viewer does have some idiosyncratic keybindings - for example, "n" means "next node at same level", and "}" means "search for next occurrence". "H" will give you a quick overview.

I'm surprised indexes aren't working for you - unfortunately I don't know of any suggestions to fix that.

Re:Things I Wish I'd Known About Bash by khedoros1 on Sunday January 07, 2018 @12:38PM (#16091697)
Thank you for the comment! I've always been aware of the info pages, but it's honestly been years since I've tried to use them.

This thread is a good reminder to give it another go.

Re:Things I Wish I'd Known About Bash by hyperpape on Saturday January 06, 2018 @02:00PM (#16086854)
Thanks. Is there a good way to open that in a browser, rather than a console?
Re:Things I Wish I'd Known About Bash by pdkl95 on Saturday January 06, 2018 @09:46PM (#16088810)
In addition to the HTML info pages hosted by GNU[1], a variety of GUI texinfo readers are available, such as tkinfo[2].

[1] https://www.gnu.org/software/bash/manual/html_node/index.htm...

[2] http://math-www.uni-paderborn.de/~axel/tkinfo/

Re:Things I Wish I'd Known About Bash by Pete_D on Saturday January 06, 2018 @03:06PM (#16087153)
I don't know if you can locally, but they're often published online in HTML format, like at https://www.gnu.org/software/bash/manual/html_node/index.htm....
Re:Things I Wish I'd Known About Bash by gbacon on Saturday January 06, 2018 @07:35PM (#16088348)
I get that they may be unfamiliar, but learning your system’s tools will pay off over the long run. Search facilities in less and info are generally much more powerful than in your browser.
Re:Things I Wish I'd Known About Bash by teddyh on Saturday January 06, 2018 @02:25PM (#16086970)
In general, the best way to read Info documentation is inside Emacs.
Re:Things I Wish I'd Known About Bash by oblio on Saturday January 06, 2018 @02:57PM (#16087106)
"If you are a bash newbie, you should read the bash manual. If you want proper search for the manual, you should use info. If you want proper use of info, you should use Emacs."

Kind of a deep rabbit hole, isn't it?

Re:Things I Wish I'd Known About Bash by teddyh on Saturday January 06, 2018 @03:53PM (#16087396)
Not in this case; the bash manual is not in Info form, but a regular old-style Unix man page.
Re:Things I Wish I'd Known About Bash by gbacon on Saturday January 06, 2018 @07:39PM (#16088365)
True. You can do just fine in general eschewing info wankery in favor of man pages. Stallman may disapprove, but I don’t lose sleep over it.