fix tr, head or tail include \n, linguist not display a warning