9fans xd bug
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 7 articles for 0.001 sec
Re: [9fans] xd bug     

Group: comp.os.plan9 · Group Profile · Search for 9fans xd bug in comp.os.plan9
Author: Pietro Gagliardi
Date: Jul 14, 2008 15:03

...Jul 14, 2008, at 1:13 PM, erik quanstrom wrote: -x by itself doesn't output the hex codes for bytes, it outputs the hex codes for 4 byte integers. i think you're thinking of this command line instead ; xd -c -1x bad 0000000 e0 Q R S \n 0 e0 51 52 53 0a On Jul 14, 2008, at 1:22 PM, Russ Cox wrote: The -c and -x formats are not intended to align. If you ...
Show full article (0.52Kb) · Show article thread
Re: [9fans] xd bug     

Group: comp.os.plan9 · Group Profile · Search for 9fans xd bug in comp.os.plan9
Author: Russ Cox
Date: Jul 14, 2008 10:28

...alignment of the characters to the hex values you will see that xd thinks Q has character code 0x525 and R has character code 3. It should look more like %% xd -c -x bad 0000000 e0Q R S \n 0 e0515253 0a000000 .... If you want hex codes aligned with characters, use -b. %% echo ABCD | xd -c -x 0000000 A B C D \n 0 41424344 0a000000 0000005...
Show full article (0.49Kb) · Show article thread
Re: [9fans] xd bug     

Group: comp.os.plan9 · Group Profile · Search for 9fans xd bug in comp.os.plan9
Author: erik quanstrom
Date: Jul 14, 2008 10:22

...the alignment of the characters to the hex values you will see that xd thinks Q has character code 0x525 and R has character code 3. It should look more like %% xd -c -x bad 0000000 e0Q R S \n 0 e0515253 0a000000 ...4 byte integers. i think you're thinking of this command line instead ; xd -c -1x bad 0000000 e0 Q R S \n 0 e0 51 52...
Show full article (0.51Kb) · Show article thread
Re: [9fans] xd bug     

Group: comp.os.plan9 · Group Profile · Search for 9fans xd bug in comp.os.plan9
Author: Russ Cox
Date: Jul 14, 2008 10:18

... Hello. Regarding my previous question, the file /n/sources/contrib/ pietro/xd.out shows a bug in xd regarding characters that can't be printed with the %%c format. There should... us exactly what you thought was wrong. Your xd.out says: %% xd -c -x bad 0000000 e0 Q R ... more text just to fill things out, I get: %% xd -c -b -x a | sed 6q 0000000 e0 Q ...
Show full article (1.28Kb) · Show article thread
Re: [9fans] xd bug     

Group: comp.os.plan9 · Group Profile · Search for 9fans xd bug in comp.os.plan9
Author: Pietro Gagliardi
Date: Jul 14, 2008 10:05

...the hex values you will see that xd thinks Q has character code 0x525 and... 3. It should look more like %% xd -c -x bad 0000000 e0Q R S...my previous question, the file /n/sources/contrib/ pietro/xd.out shows a bug in xd regarding characters that can't be ... you thought was wrong. Your xd.out says: %% xd -c -x bad ... to fill things out, I get: %% xd -c -b -x a | sed 6q ...
Show full article (1.64Kb)
[9fans] xd bug     

Group: comp.os.plan9 · Group Profile · Search for 9fans xd bug in comp.os.plan9
Author: Pietro Gagliardi
Date: Jul 10, 2008 14:30

Hello. Regarding my previous question, the file /n/sources/contrib/ pietro/xd.out shows a bug in xd regarding characters that can't be printed with the %%c format. There should be no space between a non- printing and a printing character; but the two spaces screw the rest of the line up. This shows a ...
Show full article (0.40Kb)
[9fans] Environment variable     

Group: comp.os.plan9 · Group Profile · Search for 9fans xd bug in comp.os.plan9
Author: arisawa
Date: Aug 9, 2006 03:01

Hello 9fans, I found something weird about environment variable. term% a=alice term% b=$a term% xd -c /env/a 0000000 a...a term% b=$a term% xd -c /env/a 0000000 00...b=`{cat /env/a} term% xd -c /env/b 0000000 0000000...term% b=`{echo $a} term% xd -c /env/b 0000000 0000000...echo ''} # echo null string term% xd -c /env/b 0000000 0000000...c $b xd is waiting a data from stdin! Bug or...
Show full article (0.84Kb) · Show article thread