Fixed example

The cat should actually be an echo if you want to write the IP address to a file
Merge pull request #110 from pokle/master

Fixed example