diff --git a/lab1/10215501418.sh b/lab1/10215501418.sh new file mode 100644 index 0000000..2b7ace5 --- /dev/null +++ b/lab1/10215501418.sh @@ -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 \ No newline at end of file