Code: Alles auswählen
alias hxr="perl -ne'for(split){print chr hex}'"
for i in `seq 0 255`;do X=`printf "%x" $i`;echo $X|hxr|grep -Pq "\x$X"||echo censored: $i;done
censored: 10
Code: Alles auswählen
for i in `seq 0 255`;do X=`printf "%x" $i`;echo $X|hxr|grep -Pqz "\x$X"||echo censored: $i;done
censored: 0
-z, --null-data...........a data line ends in 0 byte, not newline