gnuclient -batch only prints first line of output