[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] mom manpage
From: |
Tadziu Hoffmann |
Subject: |
Re: [groff] mom manpage |
Date: |
Wed, 5 Dec 2018 21:46:55 +0100 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
> I want to read an answer from stdin into a variable, but - as
> I do not shell programming every day - do not remember how.
> Searching for "read" in the man page leads me to the wanted
> position after about 200 times hitting the "n" key. Next I try
> " read ". Still about 50 key hits.
> Try man bash | grep read | wc
I would have done the following:
man bash
(in less:) /read.*variable[Enter]nn
(the number of "n"s might depend on the terminal size).
This is an example where regular expressions are useful.
- Re: [groff] mom manpage, (continued)
- Re: [groff] mom manpage, Doug McIlroy, 2018/12/01
- Re: [groff] mom manpage, Peter Schaffter, 2018/12/04
- [groff] man page structure and philosophy (was: mom manpage), G. Branden Robinson, 2018/12/11
- Re: [groff] man page structure and philosophy (was: mom manpage), Ingo Schwarze, 2018/12/11
- [groff] Asynchronous events (was: man page structure and philosophy (was: mom manpage)), G. Branden Robinson, 2018/12/11
- Re: [groff] Asynchronous events, Ingo Schwarze, 2018/12/11
- Re: [groff] Asynchronous events, James K. Lowden, 2018/12/12
- Re: [groff] Asynchronous events, Ralph Corderoy, 2018/12/28
Re: [groff] mom manpage, James K. Lowden, 2018/12/05
Re: [groff] mom manpage, Bertrand Garrigues, 2018/12/05