Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!agate!darkstar!ucscf.UCSC.EDU!isbell From: isbell@ucscf.UCSC.EDU (Art Isbell) Newsgroups: comp.sys.next Subject: Re: system calls from objective-C Summary: Typo correction in Bourne shell redirection Keywords: redirection, system, Bourne Message-ID: <17346@darkstar.ucsc.edu> Date: 23 Jun 91 15:54:46 GMT Article-I.D.: darkstar.17346 References: <2192@kgw2.XETRON.COM> <1991Jun22.214905.24958@ni.umd.edu> Sender: usenet@darkstar.ucsc.edu Organization: none really - just me Lines: 15 In article <1991Jun22.214905.24958@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: >routine, and I want to redirect its standard output AND standard error >into a file. How do I do this? From the Bourne shell, I'd do >something like this: > > /foo/bar/my/program > output 2>1 ^^^ Just so nobody is confused by this typo, an '&' was omitted: 2>&1 -- _____ ____ Art Isbell |\ | HELP! | | | \ 315 Moon Meadow Lane NeXT Registered Developer | \ | ___ |____| | | Felton, CA 95018-9442 isbell@ucscf.UCSC.EDU | \ | |___| | \ | | (408)335-1154 => I NEED TO FIND NeXT ==> | \| |___ | \ |___/ ==> DEVELOPMENT WORK <=