Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!skinner!wizard From: wizard@chemstor.uoregon.edu (KevinS) Newsgroups: comp.unix.questions Subject: Simple shell procedure Message-ID: Date: 9 Jul 90 03:59:42 GMT Sender: usenet@cs.uoregon.edu (Netnews Owner) Distribution: comp Organization: University of Oregon Chemistry Stores Lines: 18 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@ori.org