This is an old revision of the document!


Scripts

Downloading

  • Scripts (tar.gz, 14K) for Document maintenance are freely available on our ftp site. (You may have to press the shift key to down-load the file to your system rather than viewing the file in your browser).

Description

All the scripts print a short self-documentation when they are executed without any command line argument. Most of these scripts are perl scripts. A few scripts are c-shell scripts. If your system does not yet include perl, you can down-load it for free from one of the GNU ftp sites (more information on perl).

  • Resstat(.pl) computes result statistics for reports and books by comparing the figure listed in the TeX document, the figures listed in the Makefile, and the figure files that reside the document's directory. Resstat.pl is a fairly nice example of a perl script: it self-docs, reads files and directories, and has a formatted table output. Figstat (pl) is an older version of Resstat and is included in this collection for backward compatibility. (authors: Joel, Matt, Martin, Jon)
  • Tour (.csh) visits all lowercase sister directories (relative to where the command was issued) and executes “gmake [-n] arg” where “arg” is a command line argument to Tour. (authors: Matt, Joel, Martin, Jon)
  • tour (.csh) executes a sequence of Tour commands that amounts to a scrutinizing test of a book or report. The results are stored in a series of log files for later inspection. (author: Matt)
  • makemake (.pl) creates a makefile from picking up the RESULTSER, RESULTSCR, and RESULTSNR variables from all lowercase subdirectories of the current directory. (authors: Joel, Matt)
  • cake2make (.pl) attempts to convert a SEP cakefile to a SEP makefile (in accord with the SEP rules). Sorry, the script is not perfect and most translated files require some additional hand editing. (author: Joel)
  • logmail (.pl) splits an SEP log file (as produced by the Tour script) into email messages for the corresponding authors. This script is not perfect (yet). (author: Matt)
  • Wastestat (.pl) finds potentially superfluous files in a directory tree. The script offers several choices to define “superfluous”: one criteria can be the filename, an alternative one is the age of the file, etc. (author: Matt)
  • Execstat (.pl) lists executable files in a directory subtree. On SUNs this script can distinguish between executables that are dynamically linked and the executables that are not. (author: Matt)
  • Grepper (.pl) recursively searches a directory tree and lists all text (non-binary) files that contain any of the keywords stated on the command line. It is a bit of replacement for a complicated combination of “find” and “grep”.
  • copytree (.pl) recursively traverses a directory tree and copies all linked files, thereby removing the links.
  • book2web (.pl) converts a SEP book or thesis to SEP's web format using book2html. It invokes “book2html.pl”.
  • report2web (.pl) converts a report (not a thesis) to SEP's web format using “book2html”.
  • book2html (.pl) converts a SEP report or book to SEP's web format. It invokes “paper2html” for each chapter.
  • paper2html (.pl) converts a texfile in the current directory to SEP's html format.
  • texpr (.csh) invokes TeX, latex, dvips to create various output formats of a TeX or latex document. “texpr” knows about SEP's various default TeX macros and about SEP's local printers. “texpr” is a dinosaur of a script and needs to be simplified.
  • paper2html (.pl) converts a texfile in the current directory to SEP's html format.
  • septexexpand (.pl) expands a SEP latex file by including all the needed macros to make a portable, standalone version of the original latex file.

Installation

  • Download the compressed tar file, unzip it, untar it, and copy the scripts in your favorite bin directory. You may have to make the script files executable. The package includes a Makefile that we use to do the installation at SEP.



/web/html/data/attic/sep/software/scripts.1216755119.txt.gz · Last modified: 2015/05/26 22:41 (external edit)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0