News for hackers. Stuff that matters.
Re:Show HN: My x86 emulator written in JavaScript by laumars on Friday October 18, 2013 @04:43AM (#6570386)
You could just use octal escape sequences in printf:

    printf '\055'
returns

    -
Just change 055 for 075 (=), 053 (+) or 137 (_).

eg your $eq code can be written like this:

    eval eq$(printf '\075\075')
Re:Show HN: My x86 emulator written in JavaScript by JoshTriplett on Friday October 18, 2013 @12:15PM (#6572154)
Good thinking; that is much simpler.