#!/usr/bin/expect -f
# 
spawn psql -p 5433 -h [lindex $argv 0] -U postgres  dbdoc -f [lindex $argv 1]
set password [lindex $argv 2]
set timeout 180
expect "Password:"
send "linux4fbill\r"
expect eof
        
