Ver código fonte

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 anos atrás
pai
commit
8f0633a240
1 arquivos alterados com 11 adições e 0 exclusões
  1. +11
    -0
      lab1/hw1.sh

+ 11
- 0
lab1/hw1.sh Ver arquivo

@ -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

Carregando…
Cancelar
Salvar