File: binary-to-text.sh

package info (click to toggle)
widelands 1%3A12-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 118,052 kB
  • ctags: 9,799
  • sloc: cpp: 71,051; python: 1,368; ada: 444; sh: 292; makefile: 282; objc: 274
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"'