#!/bin/bash for c in $@; do echo $c | xxd -b | cut -d" " -f2 done