#!/bin/sh if [ x"$1" = x ]; then echo "Usage: $0 " >&2; exit 255 fi for x in $(echo -n "$1" | tr . ' ') ; do ./scripts/dec2hex "$x" done | tr '\n' / | head -c -1 ; echo