I found two bugs in tail toy: First bug is that tail added random character to stdout end when it read from stdin. Second bug is segmentation fault for 'tail -c 10' for big data from stdin. Patch that fixes these bugs: https://github.com/luckboy/toyroot/blob/master/patch/toybox-0.5.0-tail-n-c.patch Łukasz Szpakowski. 1414136581.0