MLUG: [MLUG] fun with sigs
[MLUG] fun with sigs
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I hadn't noticed this kind of thing before, but I guess it isn't terribly new because I just read about it here:

http://en.wikipedia.org/wiki/Signature_program

A guy on Slashdot had this line as is .sig:

main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}

So I did this with it:

$ cat > junk.c
main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
^D
$ gcc junk.c
$ ./a.out

                               #
                              # #
                             # ` #
                            # # # #
                           # ` ` ` #
                          # # ` ` # #
                         # ` # ` # ` #
                        # # # # # # # #
                       # ` ` ` ` ` ` ` #
                      # # ` ` ` ` ` ` # #
                     # ` # ` ` ` ` ` # ` #
                    # # # # ` ` ` ` # # # #
                   # ` ` ` # ` ` ` # ` ` ` #
                  # # ` ` # # ` ` # # ` ` # #
                 # ` # ` # ` # ` # ` # ` # ` #
                # # # # # # # # # # # # # # # #
               # ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` #
              # # ` ` ` ` ` ` ` ` ` ` ` ` ` ` # #
             # ` # ` ` ` ` ` ` ` ` ` ` ` ` ` # ` #
            # # # # ` ` ` ` ` ` ` ` ` ` ` ` # # # #
           # ` ` ` # ` ` ` ` ` ` ` ` ` ` ` # ` ` ` #
          # # ` ` # # ` ` ` ` ` ` ` ` ` ` # # ` ` # #
         # ` # ` # ` # ` ` ` ` ` ` ` ` ` # ` # ` # ` #
        # # # # # # # # ` ` ` ` ` ` ` ` # # # # # # # #
       # ` ` ` ` ` ` ` # ` ` ` ` ` ` ` # ` ` ` ` ` ` ` #
      # # ` ` ` ` ` ` # # ` ` ` ` ` ` # # ` ` ` ` ` ` # #
     # ` # ` ` ` ` ` # ` # ` ` ` ` ` # ` # ` ` ` ` ` # ` #
    # # # # ` ` ` ` # # # # ` ` ` ` # # # # ` ` ` ` # # # #
   # ` ` ` # ` ` ` # ` ` ` # ` ` ` # ` ` ` # ` ` ` # ` ` ` #
  # # ` ` # # ` ` # # ` ` # # ` ` # # ` ` # # ` ` # # ` ` # #
 # ` # ` # ` # ` # ` # ` # ` # ` # ` # ` # ` # ` # ` # ` # ` #


Sweet! (Of course I'm sure it looks like crap if you don't have a fixed-width font!)


Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members