比较的时候忽略空白符:diff -w name_list.txt name_list_new.txt 。