File: decode-highbit.sh

package info (click to toggle)
libbase58 0.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 180 kB
  • ctags: 19
  • sloc: ansic: 288; makefile: 58; sh: 32
file content (3 lines) | stat: -rw-r--r-- 94 bytes parent folder | download | duplicates (4)
1
2
3
#!/bin/sh
hex=$(echo 319932 | xxd -r -p | base58 -d 25 || echo FAIL)
test "x${hex}" = "xFAIL"