Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 16:17:43 +1030
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: copying standard input to standard output
Message-ID:  <200511131617.44062.malcolm.kay@internode.on.net>
In-Reply-To: <20051113052919.M97310@enabled.com>
References:  <20051113052919.M97310@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Nov 2005 04:01 pm, Noah wrote:
> Hi there,
>
> I am wanting to copy standard output to a file.
>
> I know that 'tee' will do this fine.
>
> blah | tee it
>
> but I am find that on some occasions processes will not output
> when pipping to tee.
>
> other than screen what are some applications that could
> capture standard output and dump to a file?
>
Could be that the output you're looking at is not stdout but 
stderr.

If you using csh (or tcsh) shell then try:
% blah |& tee it

Malcolm

> cheers,
>
>
> Noah
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511131617.44062.malcolm.kay>