文件,我有這樣兩個文件,yolo.txt和bar.txt: yolo.txt: a
b
c
跳回到bar.txt: c
我有以下命令,它可以得到我想要的輸出: $ cat yolo.txt bar.txt | sort | uniq -u | sponge
a
b
但是當我添加重定向(>)語句,輸出的變化: $ cat yolo.txt bar.txt | sort | uni
我想在一個文本文件中使用下面的命令: $ sort <m.txt | uniq -c | sort -nr >m.dict
不過,我得到以下錯誤信息: sort: string comparison failed: Invalid or incomplete multibyte or wide character
sort: Set LC_ALL='C' to work around the