in reply to streaming output to a socket
instead of having the client print to stdout, just print it to the socket$ perl -e'open F,"for f in a b c; do date; sleep 1; done |" or die $!; + while (<F>){ print } close F;' Wed Oct 13 08:01:27 PDT 2004 Wed Oct 13 08:01:28 PDT 2004 Wed Oct 13 08:01:29 PDT 2004 $
perl -e"\$_=qq/nwdd\x7F^n\x7Flm{{llql0}qs\x14/;s/./chr(ord$&^30)/ge;print"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: streaming output to a socket
by ikegami (Patriarch) on Oct 13, 2004 at 15:22 UTC | |
by Scarborough (Hermit) on Oct 13, 2004 at 15:44 UTC |