| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function texinfo_searchNode { |
| |
| |
| cli_printMessage '-' --as-separator-line |
| |
| |
| local MANUAL_ENTRY='' |
| local MANUAL_ENTRIES=$(${FLAG_BACKEND}_getEntry "$@") |
| |
| |
| for MANUAL_ENTRY in $MANUAL_ENTRIES;do |
| |
| |
| cli_printMessage "${MANUAL_BASEFILE}.info.bz2" --as-reading-line |
| |
| |
| |
| |
| |
| if [[ -f "$MANUAL_ENTRY" ]];then |
| /usr/bin/info --node="$(${FLAG_BACKEND}_getNode "$MANUAL_ENTRY")" --file=${MANUAL_BASEFILE}.info.bz2 |
| else |
| ${FLAG_BACKEND}_editEntry |
| fi |
| |
| done |
| |
| } |