Browse Source

Merge pull request 'master' (#15) from 10215501418/Computer-Systems-Labs:master into master

Reviewed-on: https://gitea.shuishan.net.cn/52265903006/Computer-Systems-Labs/pulls/15
master
朱君鹏 1 year ago
parent
commit
b71a2b5834
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      lab1/10215501418.sh

+ 10
- 0
lab1/10215501418.sh View File

@ -0,0 +1,10 @@
python 1.py > 1.1.txt
sort -d 1.1.txt > 1.2.txt --unique
sort --numeric-sort 1.1.txt > 1.2.txt --unique
sort -d 1.1.txt >> 1.3.txt --unique
sort --numeric-sort 1.1.txt >> 1.3.txt --unique
python 2.py > 2.txt
grep "computer" 2.txt
grep -c "computer" 2.txt

Loading…
Cancel
Save