Simple shell procedure
    KevinS 
    wizard at chemstor.uoregon.edu
       
    Mon Jul  9 13:59:42 AEST 1990
    
    
  
Hello Netters, I have a need for a simple shell procedure that replaces
a command line like :
program < datafile.in > datafile.out
So that all I have to do is type:
shellprocedure datafile
And the shell procedure will append the suffix ".in" (if the filename
passed to the script doesn't already have it) and also append an
".out" to the filename used for the redirected output.
Thanks
Kevins at ori.org
    
    
More information about the Comp.unix.questions
mailing list