#!/bin/csh -f #(ie run the cshell on this but don't read the .cshrc) # version = 1.04 of au 2006 Dec 10 # 2006 Dec 10, 1.04 switch to vim # 2001 Mar 20, 1.03 functional # origin 1996Aug09.15:36:50 # set up atchange - super convenient script # Dr. Thomas D. Schneider # National Institutes of Health # National Cancer Institute # Center for Cancer Research Nanobiology Program # Molecular Information Theory Group # Frederick, Maryland 21702-1201 # toms@ncifcrf.gov # permanent email: toms@alum.mit.edu (use only if first address fails) # http://www.ccrnp.ncifcrf.gov/~toms/ # If you already have an automate file in the current directory, # au will run atchange on it. # If not, au will allow you to write one and then run atchange. # If there are any parameters on the call line, au will run vi # on the automate file, allowing you to update it. if (!(-f automate) || ($#argv > 0)) then # vi automate vim automate endif if !(-f automate) then echo no automate file, abort exit endif atc automate