File: binary-to-text.sh

package info (click to toggle)
widelands 1%3A18-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 354,376 kB
  • ctags: 16,411
  • sloc: cpp: 114,658; python: 3,714; sh: 427; makefile: 317
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"'