You're viewing a comment by mcai8sh4 and its responses.
You're viewing a comment by mcai8sh4 and its responses.
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!
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!
I love to read science books. They make my day and I get ideas for awesome blog posts, such as Busy Beaver, On Functors, Recursive Regular Expressions and many others.
Take a look at my
Amazon wish list, if you're curious about what I have planned reading next, and want to surprise me. :)
If you are interested in advertising on catonmat.net, contact me.
Free tools for coding on Vietstarsoft.com.
Programming homework help.


Peteris, Just thought I'd drop you a note to thank you for spending the time to produce this book. I find it's well written and explains things very clearly. It's also fun to work though. The only thing I struggled with was creating a suitable file to test the one liners on - I was in Vim staring at a blank screen for about 5 minutes. If I get writers block trying to create a 'somefile', then I can appreciate how hard it must be to write a book!
Great work, looking forward to any other works you publish.
Comment Responses
Thanks for the comment and I am glad that you liked my book! I never thought about including a file to test one-liners on, and it's a great suggestion. I'll make sure to include the files in my next revision of this book and my future books.
Until then, I can share the files that I used to test one-liners on.
The first one contains just 10 lines. I call this file
n. I use it to test line spacing, matching lines, numbering lines, text conversion and other tasks.Then I have the
n2file that is double-spaced version ofn. I use it to test one liners such as 'number only non-blank lines in files' and 'delete all blank lines from a file'.Then I have this crazy file called
crazythat I used to test most everything else:That's about it. :)
Haha, thanks! You've made learning AWK an easy, but profitable job. Take care.
Reply To This Comment