Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!jabberwock.shs.ohio-state.edu!reiner From: reiner@jabberwock.shs.ohio-state.edu (Reiner Wilhelms) Newsgroups: comp.unix.questions Subject: C-shell programming Keywords: csh, multiple file input Message-ID: <230@jabberwock.shs.ohio-state.edu> Date: 2 Aug 90 20:36:01 GMT Distribution: usa Organization: The Ohio State University, Division of Speech and Hearing Science Lines: 17 I'd like to create a c shell program which reads from 3 files and generates 1 (or more ) output file(s). Calling this csh script will look like this: % my_shell_script input1 input2 input3 output The trouble is, I only know how to read from one file, using the input redirection. I want to read from within that shell script instead of forking a new process, or writing a C-program. Can this be done?? I am working on a sun workstation, SunOS 4.0.3c Thanks in advance. Reiner