dasht-query-html - searches Dash docsets and emits HTML table rows
dasht-query-html
[PATTERN] [DOCSET]...
dasht-query-html
dasht-query-html
'c - x'dasht-query-html
'c - x' bashdasht-query-html
'c - x' bash cssSearches for PATTERN in all installed Dash docsets, optionally searching only in those whose names match DOCSETs, by calling dasht-query-line(1). The results are then printed, one per line, to stdout as HTML table rows. However, if no results were found, this program exits with a nonzero status.
Whitespace characters in PATTERN are treated as wildcards, whereas the
SQL LIKE wildcard characters %
and _
are not: they are taken literally.
Before searching, PATTERN is surrounded by whitespace wildcards so that it can match anywhere: beginning, middle, or end. As a result, if PATTERN is undefined, it becomes a whitespace wildcard and thereby matches everything.
DASHT_DOCSETS_DIR
$XDG_DATA_HOME/dasht/docsets/
or, if XDG_DATA_HOME
is undefined, $HOME/.local/share/dasht/docsets/
.dasht-query-line(1), dasht-docsets(1), dasht(1), Dash
Written in 2016 by Suraj N. Kurapati https://github.com/sunaku/dasht Distributed under the terms of the ISC license (refer to README file).