[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] Changes to //var/cvs/groff

From: wlemb
Subject: [Groff-commit] Changes to //var/cvs/groff
Date: 7 Oct 2002 09:10:11 -0000

Log from commit: 

Update of /var/cvs/groff/contrib/groffer
In directory genba:/tmp/cvs-serv21393

Modified Files:
        ChangeLog TODO 
Log Message:

* 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'.

* 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'.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]