Browse Source

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

Reviewed-on: https://gitea.shuishan.net.cn/52265903006/Computer-Systems-Labs/pulls/8
master
朱君鹏 2 years ago
parent
commit
6ecc4bbcde
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      10215501451.md

+ 21
- 0
10215501451.md View File

@ -0,0 +1,21 @@
touch text1.txt
for i in `seq 50000`;do echo $RANDOM | md5sum | cut -c 1-9 ;done >> text1.txt
export LC_ALL=C
sort text1.txt | uniq
sort -n text1.txt | uniq
sort text1.txt | uniq > letter.txt
sort -n text1.txt | uniq >> number.txt
echo -e "computer\ndata\nscience\nengineering\nscience\nengineeringc\ncomputer\ncomputer\necnu\ndata" > text2.txt
grep computer text2.txt
grep -c computer text2.txt

Loading…
Cancel
Save