| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function document_searchIndex { |
| |
| |
| |
| |
| |
| if [[ "$FLAG_FILTER" == '.+' ]];then |
| cli_printMessage "`gettext "Use the \\\`--filter' option to define the search pattern."`" 'AsErrorLine' |
| cli_printMessage "$(caller)" 'AsToKnowMoreLine' |
| fi |
| |
| # Print action message. |
| cli_printMessage "${MANUAL_BASEFILE}.info.bz2" 'AsReadingLine' |
| |
| # Execute info command to perform an index-search. |
| /usr/bin/info --index-search="$FLAG_FILTER" --file=${MANUAL_BASEFILE}.info.bz2 |
| |
| } |
| |