Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: How to trace a dying process

by Notromda (Pilgrim)
on Sep 05, 2003 at 21:30 UTC ( #289357=note: print w/replies, xml ) Need Help??

in reply to How to trace a dying process

As usual, questions lead to more questions. I have code like this:
while (<>) { ... }
Is it possible that a EOF character is getting printed by syslog-ng and closing down the while loop?

Replies are listed 'Best First'.
Re: Re: How to trace a dying process
by sgifford (Prior) on Sep 07, 2003 at 03:15 UTC
    Not under UNIX. EOF/EOT is CTRL-D, which is ASCII 4:
    $ printf "hi\n\004\nthere\n" |perl -e'while(<>){print}' hi there
    I have no idea about other OS's, though.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://289357]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2022-08-13 23:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found