Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 

15 řádky
313 B

#两个字符串文件均由python生成
#按数字排序
#覆盖写
cat hw1.txt | sort | uniq -d > 1.txt
cat hw1.txt | sort -n | uniq -d > 1.txt
#追加写
cat hw1.txt | sort | uniq -d >> 2.txt
cat hw1.txt | sort -n | uniq -d >> 2.txt
#找出指定字符串
grep computer hw1-2.txt
grep -c computer hw1-2.txt