Removed \n at the end of head/tail/more outputs