Forgive me if this is either obvious or wrong, but I would assume you're looking for:
getlist -h <newsserver> active > foo since the options (-h <newsserver> active) belong to getlist, not to foo. ap Anton Emmerfors wrote: > > Hi, > > Today I encountered something really weird... > > When trying to get an active list from a news server with > > getlist > foo -h <newsserver> active > > the output is not redirected into foo! > > No matter where I put the redirection (on the command line) or whether > I use tee or pipe it to grep or whatever... > > If I do "echo something >foo" or "ls >foo" everything behaves as > expected. Does anyone have any idea what might be borken? > > And, yes, I did try to redirect both STDOUT and STDERR. Redirecting > strace (both 1 and 2) captures the strace output but the getlist > output ends up on the screen only. What do I look for in the strace > output? > > /Anton > -- > What was the greatest thing BEFORE sliced bread? > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- -------------------------------------------------------------- Andrew J. Perrin - Programmer/Analyst, Desktop Support Children's Primary Care Research Group, UNC - Chapel Hill (919)966-9394 * [EMAIL PROTECTED]