# !/bin/bash # bak # "bak" removes all the *~ (backup) files from the current directory # # to remove all the *.log, *.dvi, *.aux files from the current # directory use the shell function "del" # see also "dvi_letter" # As a security measure the backup files are first listed # for the first 5 seconds # HIT CONTROL + C to abort cat /usr/local/bin/empty.txt ls *~ cat /usr/local/bin/5sec.txt sleep 5 rm -f *~ rm -f *.edbkup # editra backups clear