CSCI 3294 (Unix Power Tools):
Sample Programs
Shell scripts
- upmachines:
Script to display names of all machines that are "up".
- lcname:
Script to rename a file, changing all uppercase to
lowercase.
- rename-them:
Script to do mass rename of files, changing suffix.
- another-rename-them:
Another script to do mass rename of files, making arbitrary change.
- factorial:
Script to compute n factorial.
Configuration files
vim configuration files
Mail-related configuration files
LaTeX
- sampler.tex:
Source for a sampler document (examples of many
features). Contains instructions for generating
PostScript and PDF output.
- mybiblio.bib:
Bibliography file for sampler.tex.
- Related files
needed to process sampler.tex,
and PDF output generated
two ways. The figure was created with xfig.
gnuplot
-
rng-accuracy.plotin:
Example input for using gnuplot
in batch mode, to plot data from files,
creating a .png file.
Comments in the file describe what it does and
how to use it.
You will also need the .dat files
from Related files.
-
numerical-integration.plotin:
Example input for using gnuplot
in batch mode to plot a function and data generated
inline,
creating files to be used with LaTeX.
Comments in the file describe what it does and
how to use it.
You will also need script plot2eps
from Related files.
CGI and other Web "dynamic content"