Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why.
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!
#47 can be written in easy way like this
awk ' { rec[NR]=$0} END{printf("%s\n%s\n", rec[NR-1], rec[NR]}' file
can't it?
Reply To This Comment