File: binary-to-text.sh

package info (click to toggle)
widelands 1%3A19%2Brepack-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 370,608 kB
  • ctags: 20,609
  • sloc: cpp: 108,404; ansic: 18,695; python: 5,155; sh: 487; xml: 460; makefile: 233
file content (7 lines) | stat: -rwxr-xr-x 172 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
#!/bin/sh
# Script to format a .wss binary sync stream dump into hex format.
# Requires hexdump
#
# See also synclog-to-text.sh

hexdump -v -e '"%07_ad " 4/1 " %02x" "\n"'