Ubuntu Pastebin

Paste from mivael at Mon, 6 Feb 2017 16:27:52 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
$ 
$ (s='/var/tmp/expect.txt'  &&  cat -- "$s"  &&  echo '==='  &&  expect "$s" > /dev/null)
set timeout 1
spawn ircII -q -d -p 6667 sender 127.0.0.1
expect -re "There are \[0-9\]\+ users and 0 services on 1 servers" {
    sleep 1; send "/msg receiver test\n" }
expect -re "\[-\]\[>\] \[*\]receiver\[*\] " { send "/quit\n" }
expect eof { exit 0 }
exit 1
===
$ 
$ 
Download as text