@april Whether you use - or not you need -z (and other flags) when reading from stdin. @blakecoverett