commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
A command to find out what the day ends in. Can be edited slightly to find out what "any" output ends in.
NB: I haven't tested with weird and wonderful output.
There are 6 alternatives - vote for the best!
The shell has perfectly adequate pattern matching for simple expressions.
For those days when you need to know if something is happening because the day ends in "y".
If you can do better, submit your command here.
You must be signed in to comment.