The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
Education Sponsors
I am being sponsored by A-Writer! If you ever need help with essay writing, look no further than A-Writer! They will help you with your writing in as quickly as 3 hours!
simpleton, just count the characters in the string.
ifconfig|perl -nE'/dr:(\S+)/&&say$1' is 34 characters not 36 as you suggest. Just 'echo -n ... | wc -c' it!
Your solution does not quite work. It does not list 127.0.0.1. Also, and IP can take 15 chars max (xxx.xxx.xxx.xxx), and you cut just 10...
Reply To This Comment