in reply to Handling output from nslookup and ping
Call the above using unbuffer <command> Hope this keeps you out of the trap I fell into!#!/usr/bin/expect -- # Description: unbuffer stdout of a program # Author: Don Libes, NIST eval spawn -noecho $argv set timeout -1 expect
|
|---|