#!/bin/bash #arch-wiki-docs-search #requires arch-wiki-docs package wiki_title='Archers Guide to Galaxy - DO NOT PANIC!'; html_docs='/usr/share/doc/arch-wiki/html/'; search="harvie"; search=$(zenity --entry --title="$wiki_title" --text='Enter regular expression to search'); file=$( fgrep -Ri "$search" "$html_docs" | cut -d ':' -f 1 | sort -u | while read file; do title=$(fgrep -m 1 -i '