File: binary-to-text.sh

package info (click to toggle)
widelands 2%3A1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 684,084 kB
  • sloc: cpp: 196,737; ansic: 19,395; python: 8,515; sh: 1,734; xml: 700; makefile: 46; lisp: 25
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"'