Path: utzoo!attcan!uunet!midway!ncar!asuvax!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!lll-winken!ames!dftsrv!iris613!merritt From: merritt@iris613.gsfc.nasa.gov (John H Merritt) Newsgroups: comp.sys.sgi Subject: Re: Pipe input file redirection. Message-ID: <3502@dftsrv.gsfc.nasa.gov> Date: 27 Sep 90 09:11:18 GMT References: <9009262123.AA24525@mcirps2.med.nyu.edu> Sender: news@dftsrv.gsfc.nasa.gov Reply-To: merritt@iris613.UUCP (John H Merritt) Organization: Goddard Space Flight Center Climate and Radiation Branch Lines: 18 In article <9009262123.AA24525@mcirps2.med.nyu.edu> karron%CMCL2.NYU.EDU@cunyvm.cuny.edu writes: > >How do I pipe the stdout and stderr files from a collection of programs >into the stdin of another program ? > [ example deleted ] Assume no_file1 and no_file2 don't exist; 'cat' writes to 2. With sh: (cat no_file1; cat no_file2) 2>&1 | 1<&2 od -xc With csh: (cat no_file1; cat no_file2) |& od -xc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ John H. Merritt # Yesterday I knew nothing, Applied Research Corporation # Today I know that. merritt@iris613.gsfc.nasa.gov #