# Linux

## Miscellaneous Scripts

### Important Note

#### WARNING

These programs are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. USE ON YOUR OWN RISK!

Some programs might even be experimental/not extensively tested (so called “alpha” software). USE WITH CAUTION!

See license information in the comment on top of each script file. You must not use any tool without accepting its license!

This tool can be used to extract the boot image from bootable “El Torito” ISO9660 filesystems (bootable CDs or DVDs). The tool can handle “no emulation” boot images and floppy images. There is no support for hard disk images, because those are rarely used. Run with --help to get information on usage.

figdepths.awk prints out the depths used in Xfig graphics files (FIG 3.2 format). This is mainly useful for further processing by other tools that only transform parts of Xfig files depending on the depths used in the files. For example, overlay effects in a drawing in LaTeX's beamer class can be realized by one Xfig file using different depths and the conversion tool might need to know the depths used in the files.

maildups.sh is a script that recursively searches a directory for maildirs. For each maildir duplicates of mails are printed to stdout. Two mails are considered to be identical, if the Message-Id are the same and the bodies of the mails are identical. The tool can also be used to print statistics for the maildirs only.

This tool resizes a floppy image with FAT12 filesystem including boot sector. The resized floppy images can then be used in conjuction with, e.g. syslinux, to be burned on and booted from a CD. The tool is based on mkfloppyimg.sh by Murali Krishnan Ganapathy and Carsten Grohmann (see top of file). Run with --help to get information on usage.

These scripts provide some means to merge several PS/PDF files to a single PS/PDF file (psmerge.sh) or to put two PS pages on one sheet (doubleps.sh). Run without arguments to get information on usage.

This script makes key and certificate management a bit easier. The top of the script contains some variables that must (should) be configured according to your needs. Run ssl-util.sh --help for details on usage.