2 ms·
ksh almost identical, read -N instead of -n while LANG=C IFS= read -d'' -r -N 1 x ;do printf '%c' "$x" ;done <dat1 >dat2 With -n it handles 0x00 fine but scre
by Brian_K_White 3y ago
ksh almost identical, read -N instead of -n
while LANG=C IFS= read -d'' -r -N 1 x ;do printf '%c' "$x" ;done <dat1 >dat2
With -n it handles 0x00 fine but screws up on 0x0A !