#!/bin/bash for c in $@; do if [[ $c != 0x* ]]; then c="0x$c" fi echo $c | xxd -r echo -n " " done printf "\n"