http://qs1969.pair.com?node_id=291800


in reply to Fun with one keyword

To get rid of the die, maybe you can do something with backticks. replace last line with something like
$_[6]=$";$"='';`"echo @_[19,4,0,5,6,7,14,8,5,13,2,9,6,1,2,9,10,6,13,7, +12,3,2,9]"`
(and of course, the "echo" can be obfuscated just as the rest, but I leave that as an excercise to the reader).

Unfortunately, this complains of the "echo" executable not found. ;-(

I guess you either need a generally available executable that prints its arguments, or find out how to call shell commands with backticks.

Liz

Replies are listed 'Best First'.
Re: Fun with one keyword
by Abigail-II (Bishop) on Sep 16, 2003 at 13:04 UTC
    Unfortunately, this complains of the "echo" executable not found. ;-(

    That's because your have "echo args" and pass that to the shell - the shell sees that as one token. However, if you fix that and pass echo "args" to the shell, not much will get printed, because that output gets eaten by the backticks. You have to try something like:

    `echo "args" > /dev/tty`

    Abigail