File: decode-highbit-prefix.sh

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