update repository
[cmdllinux.git] / bash_n_examples / bash / dd / _bash_od5.sh
blob50789ab3fb78e4af2fd0d6ab554c1ca20a3171ce
1 #IFS=$' '
2 echo -n > binfile.bin
3 hexdump -ve '1/1 "%.2x"' adb | \
4 while read -r -N 2 char; do
5 printf "\x${char}" >> binfile.bin
6 done