Sfoglia il codice sorgente

Merge pull request 'hw' (#1) from 10215501412/Computer-Systems-Labs:10215501412-patch-1 into master

Reviewed-on: https://gitea.shuishan.net.cn/52265903006/Computer-Systems-Labs/pulls/1
master
朱君鹏 2 anni fa
parent
commit
8f0633a240
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. +11
    -0
      lab1/hw1.sh

+ 11
- 0
lab1/hw1.sh Vedi File

@ -0,0 +1,11 @@
sort data.txt | uniq -u
sort -n data.txt | uniq -u
sort data.txt > data2
sort -n data.txt > data3
sort data.txt >> data2
sort -n data.txt >> data3
grep ABC data.txt
grep -o ABC data.txt
grep ABC data.txt | wc -l
grep -o ABC data.txt | wc

Caricamento…
Annulla
Salva