in reply to Re^4: Filtering passwords from the output of a script
in thread Filtering passwords from the output of a script
perl -e "$|=1; print 'test1'; sleep 1; print 'test2'" | perl -e "sysre +ad(STDIN, $buf='', 1000); print(qq{[$buf]})"
outputs
[test1]
If what you claimed is true, it would output [test1test2].
( And I'm working on the caveat. And I've addressed the caveat in an update. )
|
|---|