Browse Source

homework1

master
10215501418 1 year ago
parent
commit
370fe5aae4
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