| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function texinfo_editEntry { |
| |
| |
| cli_printMessage '-' --as-separator-line |
| |
| |
| if [[ ! -f $MANUAL_ENTRY ]];then |
| |
| |
| |
| |
| |
| if [[ ! -a $(dirname $MANUAL_ENTRY)/chapter.${MANUAL_EXTENSION} ]];then |
| texinfo_createChapter |
| fi |
| |
| |
| cli_printMessage "`gettext "The following documentation section will be created:"`" |
| cli_printMessage "$MANUAL_ENTRY" --as-response-line |
| cli_printMessage "`gettext "Do you want to continue?"`" --as-yesornorequest-line |
| |
| |
| |
| texinfo_updateStructureSection "$MANUAL_ENTRY" |
| |
| |
| $EDITOR $MANUAL_ENTRY |
| |
| else |
| |
| |
| cli_printMessage "$MANUAL_ENTRY" --as-updating-line |
| |
| |
| |
| |
| |
| texinfo_makeSeeAlso "$MANUAL_ENTRY" |
| |
| |
| $EDITOR $MANUAL_ENTRY |
| |
| |
| |
| |
| |
| |
| texinfo_makeSeeAlso "$MANUAL_ENTRY" |
| |
| fi |
| |
| } |