in reply to Re^3: One-liner to rule them all...
in thread One-liner to rule them all...

Forgive my tardy reply.
I've got it to this:
perl -e "system(mystring =~ tr/a-z/x-za-w/r)"
Where `mystring` is a hard-coded string.
So I have a working solution, but is there anyway to obfuscate it further?
To answer your question, I should have been honest from the beginning. I wanted this one-liner to do something cheeky... it's in a section of the README of the software I'm working on, as a treat for the dedicated reader.

Replies are listed 'Best First'.
Re^5: One-liner to rule them all...
by davido (Cardinal) on Jul 14, 2012 at 03:10 UTC

    ...I should have been honest from the beginning.

    Yes, people volunteering help appreciate honesty in return. If you had told me from the beginning that you were working on an obfu, I wouldn't have been opposed, though I would have given you the recommendation that it's now taken a series of responses to finally get to: Learn Perl first. Learn to get your script to do what you want it to do without the complications of obfuscation. Once you get it all figured out from a functionality standpoint, then go ahead and play with obfuscating it on your own time.

    Good luck with your endeavour.


    Dave

Re^5: One-liner to rule them all...
by Anonymous Monk on Jul 14, 2012 at 12:32 UTC

    Well, then maybe you should have picked something a bit less trivial than ROT... if any of us saw your work, it'd be cracked by now.