[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [INN2] no bash redirection with getlist



On Thu, May 08, 2003 at 12:11:49AM +0100, Colin Watson wrote:
> On Wed, May 07, 2003 at 07:16:13PM +0200, Jens Kubieziel wrote:
> > 
> > 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
> output?

kubi@QBI050102:~$ sudo /usr/lib/news/bin/getlist -h 127.0.0.1 active >
/tmp/active
control 0000000094 0000000047 y
junk 0000004504 0000003965 y
[...]
kubi@QBI050102:~$ ls -la /tmp/active 
-rw-r--r--    1 kubi     kubi            0 2003-05-08 07:38 /tmp/active
-- 
Jens Kubieziel                                   http://www.kubieziel.de
A rock store eventually closed down; they were taking too much for granite.



Reply to: