Browse Source

10215501408new upload

master
马也驰 2 years ago
parent
commit
02cc101cb8
2 changed files with 87 additions and 59 deletions
  1. +29
    -1
      lab1/10215501408.txt

lab1/10215501408.c → lab1/10215501408.txt View File

@ -56,4 +56,32 @@ int main()
{
file_create("words.txt");
return 0;
}
}
//shell code
sort words.txt > opt1.txt
uniq opt1.txt > uniq1.txt
sort -n words.txt > opt2.txt
uniq opt2.txt > uniq.txt
cat uniq1.txt > override.txt
cat uniq.txt > override.txt
cat uniq1.txt >> cct.txt
cat uniq.txt >> cct.txt
grep -o "computer" words.txt > computer.txt
grep -c "computer" words.txt
git add 10215501408.txt
git commit -m “myc”
git push -u origin master

Loading…
Cancel
Save