Thread View: news.software.nntp
2 messages
2 total messages
Started by Mike Pelletier
Mon, 01 Jul 1996 00:00
convdate question
Author: Mike Pelletier
Date: Mon, 01 Jul 1996 00:00
Date: Mon, 01 Jul 1996 00:00
24 lines
1133 bytes
1133 bytes
I posted this in the perl group, but it seems that this group might be better. I'm getting some really odd behaviour from convdate. When I enter it on the command line, it works fine: # /usr/sbin/convdate -n "28 Jun 1996 12:59:28 -0400" 835981168 However, if I redirect it to a file or a pipe, I get no output: # /usr/sbin/convdate -n "28 Jun 1996 12:59:28 -0400" | more # I can't discern anything in the source code that would cause this, anyone have any ideas? Even a perl version of convdate would be helpful. Thanks! -Mike Pelletier.
Re: INN utility programs bug? No output when redirected...
Author: Mike Pelletier
Date: Tue, 02 Jul 1996 00:00
Date: Tue, 02 Jul 1996 00:00
39 lines
1954 bytes
1954 bytes
In article <4r8vts$j1f@valhalla.comshare.com>, Mike Pelletier <mikep@comshare.com> wrote: >I posted this in the perl group, but it seems that this group might be >better. > >I'm getting some really odd behaviour from convdate. When I enter it on >the command line, it works fine: > ># /usr/sbin/convdate -n "28 Jun 1996 12:59:28 -0400" >835981168 > >However, if I redirect it to a file or a pipe, I get no output: > ># /usr/sbin/convdate -n "28 Jun 1996 12:59:28 -0400" | more ># > >I can't discern anything in the source code that would cause this, >anyone have any ideas? Even a perl version of convdate would be >helpful. I've also discovered that this happens with grephistory too... I'm running BSDI 2.01 on a Pentium system, in case you were wondering. This seems to be a larger issue than just convdate, and it seems to have arisen after I reinstalled INN after adding the new sharedactive patch and Mike Bird's streaming patches, and modifiying a few path names to spread the Usenet system across disks. I've been working with UNIX for 10 years or so, and maybe I'm going senile, but I can't think of any mechanism whereby a printf to a tty would produce output but the same printf to a ">" or a "|" wouldn't. Any ideas, anyone? -Mike Pelletier.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads