| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function texinfo_searchNode { |
| |
| |
| |
| if [[ ! -f "$MANUAL_ENTRY" ]];then |
| texinfo_editEntry |
| fi |
| |
| |
| |
| if [[ ! -f ${MANUAL_BASEFILE}.info.bz2 ]];then |
| texinfo_updateOutputFiles |
| fi |
| |
| |
| cli_printMessage '-' --as-separator-line |
| |
| |
| cli_printMessage "${MANUAL_BASEFILE}.info.bz2" --as-reading-line |
| |
| |
| local MANUAL_NODE="$(texinfo_getEntryNode "$MANUAL_ENTRY")" |
| |
| |
| |
| |
| if [[ $MANUAL_NODE =~ $(texinfo_getEntryNode "$MANUAL_NAME") ]];then |
| MANUAL_NODE='Top' |
| fi |
| |
| |
| info --node="${MANUAL_NODE}" --file="${MANUAL_BASEFILE}.info.bz2" |
| |
| } |