Fixed bugs in Cuttool,PasteTool,GrepTools regarding \n behind, Left abit in greptool unsolved