summaryrefslogtreecommitdiff
path: root/tmac/doc-common
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-10-07 09:10:10 +0000
committerwlemb <wlemb>2002-10-07 09:10:10 +0000
commit0a718093b72d36a306d8954d4df78d507828d023 (patch)
treef193c467f114321cf70607839577cc516b41cfd3 /tmac/doc-common
parentd0768118ab6175d6b9f748856dcf23f6ce76bd90 (diff)
downloadgroff-0a718093b72d36a306d8954d4df78d507828d023.tar.gz
* groffer.sh: replace `sed' interface by direct `sed'
- This improves the performance of the shell programming parts and shortens the groffer script by about 5%. - Remove functions: string_del_append(), string_del_leading(), string_del_trailing(), string_flatten(), string_get_before(), string_get_leading(), string_replace_all(), string_sed_s(), and their auxiliary functions. - Replace all calls of these functions by direct `sed' commands. - Define variables for special characters to ease `sed' calls. - Remove `$APPEND'. - Restrict list_from_string() to single character separators. - Correct list_check() and base_name(). - Add comments to all calls of `sed'. * groffer.sh: add run-time support for several shells - New option `--shell': stop execution and rerun groffer under the shell specified in the argument of `--shell'. - If no shell was specified at run-time, `ash' is tried first; if `ash' is not available continue with the shell with which groffer was called from the command line, or with the shell name in the first line of the script, actually `/bin/sh'.
Diffstat (limited to 'tmac/doc-common')
0 files changed, 0 insertions, 0 deletions