Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Fun with one keyword

by liz (Monsignor)
on Sep 16, 2003 at 12:39 UTC ( #291800=note: print w/replies, xml ) Need Help??

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.


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`


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://291800]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2023-06-03 04:29 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (6 votes). Check out past polls.