You're viewing a comment by Peteris Krumins and its responses.
You're viewing a comment by Peteris Krumins 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.


michael.wang, good question.
This one-liner does not need any code to run. -p argument generates all the necessary code already.
But to run a one-liner we actually need to specify something to -e argument.
At first I specified the empty string:
But then I discovered that the empty string can be replaced just by a 0 (because 0 does nothing):
You could as well have used any constant:
You just need to specify something to -e that does nothing, to satisfy the interpreter argument checking.
Reply To This Comment