* [gentoo-user] devmanual searching
@ 2014-09-23 20:07 James
2014-09-23 20:09 ` Alan McKinnon
0 siblings, 1 reply; 9+ messages in thread
From: James @ 2014-09-23 20:07 UTC (permalink / raw
To: gentoo-user
Hello,
I find my self needing to search devmanual.gentoo.org, globally,
for random keywords. The document does not appear to be a single,
flat file, in any locations on the net. All I can do is search
by section or search the index
For example "URI" or "EGIT_REPO_URI" .
Clarity or other options for global searches of devmanual is most welcome.
James
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] devmanual searching
2014-09-23 20:07 [gentoo-user] devmanual searching James
@ 2014-09-23 20:09 ` Alan McKinnon
2014-09-23 20:49 ` [gentoo-user] " James
0 siblings, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2014-09-23 20:09 UTC (permalink / raw
To: gentoo-user
On 23/09/2014 22:07, James wrote:
> Hello,
>
> I find my self needing to search devmanual.gentoo.org, globally,
> for random keywords. The document does not appear to be a single,
> flat file, in any locations on the net. All I can do is search
> by section or search the index
>
> For example "URI" or "EGIT_REPO_URI" .
>
> Clarity or other options for global searches of devmanual is most welcome.
Use the awesome power of google and neatly sidestep reinventing the
search wheel:
just add "site:devmanual.gentoo.org" to your search string
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: devmanual searching
2014-09-23 20:09 ` Alan McKinnon
@ 2014-09-23 20:49 ` James
2014-09-23 21:58 ` Jc García
0 siblings, 1 reply; 9+ messages in thread
From: James @ 2014-09-23 20:49 UTC (permalink / raw
To: gentoo-user
Alan McKinnon <alan.mckinnon <at> gmail.com> writes:
> just add "site:devmanual.gentoo.org" to your search string
site:devmanual.gentoo.org : URI
Yep, it's what I've been doing. However, it has lots of sporadic
noise in the search (ignoring devmanual) too often. Plus it does
not necessarily search the document, in a serial fashion.
Surely there is a "flat-file" version somewhere the I have missed?
I'm not asking for an integrated search engine, but merely a
flat-file version for traditional CLI types of searching....
If there a way to convert devmanual to a flat file?
James
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: devmanual searching
2014-09-23 20:49 ` [gentoo-user] " James
@ 2014-09-23 21:58 ` Jc García
2014-09-24 1:00 ` James
2014-09-26 19:38 ` James
0 siblings, 2 replies; 9+ messages in thread
From: Jc García @ 2014-09-23 21:58 UTC (permalink / raw
To: gentoo-user
2014-09-23 14:49 GMT-06:00 James <wireless@tampabay.rr.com>:
> Alan McKinnon <alan.mckinnon <at> gmail.com> writes:
>
>
>> just add "site:devmanual.gentoo.org" to your search string
>
> site:devmanual.gentoo.org : URI
>
> Yep, it's what I've been doing. However, it has lots of sporadic
> noise in the search (ignoring devmanual) too often. Plus it does
> not necessarily search the document, in a serial fashion.
>
> Surely there is a "flat-file" version somewhere the I have missed?
> I'm not asking for an integrated search engine, but merely a
> flat-file version for traditional CLI types of searching....
>
> If there a way to convert devmanual to a flat file?
There's 'app-doc/devmanual' that is basically the html files that make
the devmanual but, if you have them in your pc you can convert them to
plain text and grep them, plus you have the manual even if offline.
>
> James
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: devmanual searching
2014-09-23 21:58 ` Jc García
@ 2014-09-24 1:00 ` James
2014-09-24 8:49 ` Alan McKinnon
2014-09-26 19:38 ` James
1 sibling, 1 reply; 9+ messages in thread
From: James @ 2014-09-24 1:00 UTC (permalink / raw
To: gentoo-user
Jc García <jyo.garcia <at> gmail.com> writes:
'app-doc/devmanual'
Yep,
Installed!
Thx,
James
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: devmanual searching
2014-09-24 1:00 ` James
@ 2014-09-24 8:49 ` Alan McKinnon
0 siblings, 0 replies; 9+ messages in thread
From: Alan McKinnon @ 2014-09-24 8:49 UTC (permalink / raw
To: gentoo-user
On 24/09/2014 03:00, James wrote:
> Jc García <jyo.garcia <at> gmail.com> writes:
>
> 'app-doc/devmanual'
>
> Yep,
> Installed!
Same here :-)
I've always just used what's on the website and read it like a book with
a contents page. In this case, I think local copy is better
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: devmanual searching
2014-09-23 21:58 ` Jc García
2014-09-24 1:00 ` James
@ 2014-09-26 19:38 ` James
2014-09-26 19:47 ` Michael Orlitzky
2014-09-26 19:48 ` Neil Bothwick
1 sibling, 2 replies; 9+ messages in thread
From: James @ 2014-09-26 19:38 UTC (permalink / raw
To: gentoo-user
Jc García <jyo.garcia <at> gmail.com> writes:
> There's 'app-doc/devmanual' that is basically the html files that make
> the devmanual but, if you have them in your pc you can convert them to
> plain text and grep them, plus you have the manual even if offline.
Ok, some years (decades?) ago I use html2txt. It must have been part of a
deprecated package, as now I do not find it.
So what's the best method to convert the devmanual installed locally now,
app-doc/devmanual~9999, to a singular large text file for searching?
file:///usr/share/doc/devmanual/html/index.html
I see many tools for converting text to html, but not the otherway?
Besides are there probably newer, slicker ways to do this conversion
to a singular flat text file, that I'm not aware of......
Then, with that flat file in the same dir as above, I'll just point the
browser straight to the flat file version and use the searchbox built into
the browser.
all suggestions are most welcome.
James
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: devmanual searching
2014-09-26 19:38 ` James
@ 2014-09-26 19:47 ` Michael Orlitzky
2014-09-26 19:48 ` Neil Bothwick
1 sibling, 0 replies; 9+ messages in thread
From: Michael Orlitzky @ 2014-09-26 19:47 UTC (permalink / raw
To: gentoo-user
On 09/26/2014 03:38 PM, James wrote:
> Jc García <jyo.garcia <at> gmail.com> writes:
>
>
>> There's 'app-doc/devmanual' that is basically the html files that make
>> the devmanual but, if you have them in your pc you can convert them to
>> plain text and grep them, plus you have the manual even if offline.
>
>
> Ok, some years (decades?) ago I use html2txt. It must have been part of a
> deprecated package, as now I do not find it.
>
app-text/html2text or dev-python/html2text?
links -dump <url> also works.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: devmanual searching
2014-09-26 19:38 ` James
2014-09-26 19:47 ` Michael Orlitzky
@ 2014-09-26 19:48 ` Neil Bothwick
1 sibling, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2014-09-26 19:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
On Fri, 26 Sep 2014 19:38:27 +0000 (UTC), James wrote:
> Ok, some years (decades?) ago I use html2txt. It must have been part
> of a deprecated package, as now I do not find it.
>
> So what's the best method to convert the devmanual installed locally
> now, app-doc/devmanual~9999, to a singular large text file for
> searching?
app-text/html2text
Note the extra e.
--
Neil Bothwick
Q. What is the difference between Queensland and yoghurt?
A. Yoghurt has an active culture.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-09-26 19:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 20:07 [gentoo-user] devmanual searching James
2014-09-23 20:09 ` Alan McKinnon
2014-09-23 20:49 ` [gentoo-user] " James
2014-09-23 21:58 ` Jc García
2014-09-24 1:00 ` James
2014-09-24 8:49 ` Alan McKinnon
2014-09-26 19:38 ` James
2014-09-26 19:47 ` Michael Orlitzky
2014-09-26 19:48 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox