#!/bin/ksh echo $1 | hexdump | cut -b9- | cut -d"|" -f1 | tr -d ' \t\n\r' echo ''