6502asm

Authored Comments

Nice beginner information. I prefer to use "echo -e" so that you don't need to add the $ in front of the metachararacter. Also, I use \xHH to do hex. Plus, I find hexdump (typically 'hexdump -C') to check that things are what I expect them to be, or to look at something that might have unprintable characters embedded in them.

$ echo a $'\b'b |hexdump -C
00000000 61 20 08 62 0a |a .b.|
00000005

$ echo -e "a \bb" |hexdump -C
00000000 61 20 08 62 0a |a .b.|
00000005

I think the "echo -e" is just a little cleaner, more obvious method.