#!/bin/sh # -*- shell-script -*- # # A script to clean up a directory, removing unnecessary files. # # Author: R.F. Smith # Time-stamp: <2010-08-29 11:40:52 rsmith> # # To the extent possible under law, Roland Smith has waived all copyright and # related or neighboring rights to clean. This work is published from the # Netherlands. See http://creativecommons.org/publicdomain/zero/1.0/ # (La)TeX stuff TEXF="*.dvi *.aux *.lof *.log *.toc" # C(++) stuff CF="*.o *.a *.so* *.la *.lo" # Editor stuff EDF="*~" # Removing all unnecessary stuff. rm -f $TEXF $CF $EDF