fix #9 readall from cmdline and remove trailing \0