Re: [INN2] no bash redirection with getlist
On Wed, May 07, 2003 at 07:16:13PM +0200, Jens Kubieziel wrote:
> if I want to retrieve active, newsgroups or some other file from a
> newsserver I can use getlist. The manpage says:
> getlist - get a list from an NNTP server
> getlist [ -h host ] [ list [ pattern [ types ] ] ]
> The getlist program obtains a list from an NNTP
> server and sends it to standard output.
> I wanted to redirect that output to a file in this way:
> getlist -h $SERVER active > $SOMEFILE
> getlist writes its output to STDOUT and it seems there is no way to
> redirect that output to a file (i also tried tee).
That should be completely impossible; if redirection were broken,
*everyone* would notice. Could you show us the exact command you're
using (without things like $SOMEFILE), and the first few lines of
Colin Watson [firstname.lastname@example.org]