| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function texinfo_copyEntry { |
| |
| |
| local MANUAL_ENTRY_SRC='' |
| local MANUAL_ENTRY_DST='' |
| |
| |
| |
| |
| if [[ ${MANUAL_SECT[${MANUAL_DOCENTRY_ID}]} != '' ]];then |
| |
| |
| |
| |
| texinfo_copyEntrySection |
| |
| elif [[ ${MANUAL_CHAP[${MANUAL_DOCENTRY_ID}]} != '' ]] \ |
| && [[ ${MANUAL_CHAP[((${MANUAL_DOCENTRY_ID} + 1))]} != '' ]];then |
| |
| |
| |
| |
| |
| |
| texinfo_copyEntryChapter |
| |
| elif [[ ${MANUAL_DIRN[${MANUAL_DOCENTRY_ID}]} != '' ]] \ |
| && [[ ${MANUAL_DIRN[((${MANUAL_DOCENTRY_ID} + 1))]} != '' ]];then |
| |
| |
| |
| |
| |
| texinfo_copyEntryManual |
| |
| |
| |
| |
| |
| |
| |
| else |
| cli_printMessage "`gettext "The parameters you provided are not supported."`" --as-error-line |
| fi |
| |
| } |