next up previous contents
Next: Parameter passing by Up: No Title Previous: Structure of run

General use of scripts and programs

 
In the following it is assumed that there exists a disk structure where
the distributed scripts and programs are located in the directories 
/WFC_DIST_DIR/etc and /WFC_DIST_DIR/bin respectively.  Before any use 
can be made of them these directories should be added the search path
of the user. 
For example:
  >  set path = ( /WFC_DIST_DIR/bin /WFC_DIST_DIR/etc $path )

It is advisable to place all the commands for preparing the correct shell 
environment into a text file that can be 'sourced' by the shell interpreter 
either each time before processing or as part of the standard shell startup 
file (e.g. .cshrc).
For example:
  >  source winit
	
	setenv WFC_TOP /wfc/distribution
	setenv WFC_ETC /wfc/distribution/etc
	setenv WFC_BIN /wfc/distribution/bin
	setemv WFC_CAL /wfc/distribution/cal
	setenv WFC_CAT /wfc/distribution/lib/catalogs




Mark Savenije
Sat Jan 18 15:04:49 MET 1997