allow pipe syntax
ensure to correctly terminate hex string with non-hex char(';')
remove redundant brace following review
add error check
follow completely @wasabiz's code
Merge pull request #168 from KeenS/pipe-reader

allow pipe syntax