Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cog (4665)

Journal of cog (4665)

Thursday July 08, 2004
09:58 AM

Secrets of the Bash

[ #19753 ]
I came across this:

:()} :|:&};:

I can't really say for sure what it does (on the bash), but I do know it is *not* recommended.

What I'd like to know is:

a) What does it do, and how?

b) What should I read in order to understand these things better? Would man bash suffice?

TIA

jac

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • At least I think so... :-)

    You define a function like this:

    name ( ) { list ; }

    So, the first thing it is doing is defining a function named : that does :|:& ...

    Then, it runs that function...

    And then, I have to use brute force (or better yet, the magic button) to restore (ab)normality... :-)

    Am I right? :-)