Compare commits

...

1 Commits

Author SHA1 Message Date
  彭一珅 603eed911d 上传文件至 'lab1' 2 years ago
1 changed files with 11 additions and 0 deletions
Split View
  1. +11
    -0
      lab1/hw1.sh

+ 11
- 0
lab1/hw1.sh View 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

Loading…
Cancel
Save