I suppose you typed an extra "#" there.
sltam@beech:~$ xvattr | awk '/ Name/{printf$2}/Current/{printf"\t%08x\n",$3}' XV_COLORKEY 000101fe XV_BRIGHTNESS fffffffb XV_CONTRAST 00000030 XV_GAMMA0 00000000 XV_GAMMA1 00101010 XV_GAMMA2 00202020 XV_GAMMA3 00404040 XV_GAMMA4 00808080 XV_GAMMA5 00ffffff
I suppose you typed an extra "#" there.
sltam@beech:~$ xvattr | awk '/ Name/{printf$ 2}/Current/ {printf" \t%08x\ n",$3}'
XV_COLORKEY 000101fe
XV_BRIGHTNESS fffffffb
XV_CONTRAST 00000030
XV_GAMMA0 00000000
XV_GAMMA1 00101010
XV_GAMMA2 00202020
XV_GAMMA3 00404040
XV_GAMMA4 00808080
XV_GAMMA5 00ffffff