> Brandon Dudley <[EMAIL PROTECTED]> wrote:
> >here's the whole script...short answer is csh:
> >
> >#!/bin/sh
> 
> That's the problem: you're using Bourne shell syntax in the C Shell.
> My csh skills are rusty; I can't remember how to redirect stderr.

        To redirect both stdin and stderr to one place, use:

progname >& outputfile

        If you wish to redirect them to different places, csh does not
handle this case well.  You need to use a subshell like such:

(progname > stdin-outputfile) >& stderroutputfile

-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]

Reply via email to