in reply to OT: a bash shell oddity, need explanation

Interestingly,

print chr for qw(104 101 108 108 111 44 32 119 111 114 108 100 33 10)

results in hello, world!

Replies are listed 'Best First'.
Re^2: OT: a bash shell oddity, need explanation
by zentara (Cardinal) on Feb 07, 2014 at 17:33 UTC
    Thanks for that reminder. :-) After thinking about what you wrote, I did a "which ?1" as choroba indicated, and it found a file called z1, which contained the phrase "hello world". The question remains why the hex control characters remained in the shell. I believe roboticus is right about this, that the terminal's answerback setting got set by the Perl script, and it printed out z1 in binary or hex. Strange, but I understand now.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh