#! ../scotty -nf
##
## Just call nslook for every arg in argv.
##

foreach arg $argv {
    if [catch {nslook $arg} res] {
	set res "<lookup failed>"
    }
    if {[string match \[1-9\]* $arg]} {
	puts "$arg\t$res"
    } else {
	puts "$res\t$arg"
    }
}

