NAME=trailing comment
FILE=malloc://1024
ARGS=-w
CMDS=<<EOF
s 0x20
ww hello
s 0x30
ww Hello
s 0x40
ww world
s 0x60
w hello # shouldnt be listed as its not wide!
s 0x80
ww WORLD
s 0
x 0xa0
?e sensitive
/w hello
/w world
?e insensitive
/wi hello
/wi world
EOF
EXPECT=<<EOF
- offset -   0 1  2 3  4 5  6 7  8 9  A B  C D  E F  0123456789ABCDEF
0x00000000  0000 0000 0000 0000 0000 0000 0000 0000  ................
0x00000010  0000 0000 0000 0000 0000 0000 0000 0000  ................
0x00000020  6800 6500 6c00 6c00 6f00 0000 0000 0000  h.e.l.l.o.......
0x00000030  4800 6500 6c00 6c00 6f00 0000 0000 0000  H.e.l.l.o.......
0x00000040  7700 6f00 7200 6c00 6400 0000 0000 0000  w.o.r.l.d.......
0x00000050  0000 0000 0000 0000 0000 0000 0000 0000  ................
0x00000060  6865 6c6c 6f00 0000 0000 0000 0000 0000  hello...........
0x00000070  0000 0000 0000 0000 0000 0000 0000 0000  ................
0x00000080  5700 4f00 5200 4c00 4400 0000 0000 0000  W.O.R.L.D.......
0x00000090  0000 0000 0000 0000 0000 0000 0000 0000  ................
sensitive
0x00000020 hit0_0 680065006c006c006f00
0x00000040 hit1_0 77006f0072006c006400
insensitive
0x00000020 hit2_0 680065006c006c006f00
0x00000030 hit2_1 480065006c006c006f00
0x00000040 hit3_0 77006f0072006c006400
0x00000080 hit3_1 57004f0052004c004400
EOF
RUN

