in reply to Re: Non-buffered read from program
in thread Non-buffered read from program

Its not particularly about the whois command, but on how to obtain program output which blocks. The whois command is a perfect example for this.


--
Rohan

Replies are listed 'Best First'.
Re^3: Non-buffered read from program
by Anonymous Monk on Jan 02, 2006 at 12:30 UTC
    perhaps the backticks will give you a way. Then you can use something like this $myvar = `whois x.x.x.x` ; Then you can manipulate/search/test the output from the command, through $myvar. G