Re: weird getlist behaviour

2001-02-21 Thread Anton Emmerfors
On Wed, Feb 21, 2001 at 10:05:12AM -0500, Andrew Perrin wrote: > Forgive me if this is either obvious or wrong, but I would assume you're > looking for: > > getlist -h active > foo > > since the options (-h active) belong to getlist, not to > foo. The > is interpreted by the shell, so it does

Re: weird getlist behaviour

2001-02-21 Thread Anton Emmerfors
On Wed, Feb 21, 2001 at 11:56:42AM -0300, Christoph Simon wrote: [snip] > > getlist > foo -h active > > Did you try? > > getlist | foo -h active > > ...assuming that foo is an executable. That can't possibly work... Then "-h active" becomes arguments to foo. /Anton -- The amou

Re: weird getlist behaviour

2001-02-21 Thread Andrew Perrin
Forgive me if this is either obvious or wrong, but I would assume you're looking for: getlist -h active > foo since the options (-h active) belong to getlist, not to foo. ap Anton Emmerfors wrote: > > Hi, > > Today I encountered something really weird... > > When trying to get an active li

Re: weird getlist behaviour

2001-02-21 Thread Christoph Simon
On Wed, 21 Feb 2001 15:47:06 +0100 Anton Emmerfors <[EMAIL PROTECTED]> wrote: > Hi, > > Today I encountered something really weird... > > When trying to get an active list from a news server with > > getlist > foo -h active Did you try? getlist | foo -h active ...assuming that foo is a

weird getlist behaviour

2001-02-21 Thread Anton Emmerfors
Hi, Today I encountered something really weird... When trying to get an active list from a news server with getlist > foo -h 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