Browse Source

删除 'lab1/10215501433.sh'

master
仲韦萱 2 years ago
parent
commit
1a25af6dcd
1 changed files with 0 additions and 12 deletions
  1. +0
    -12
      lab1/10215501433.sh

+ 0
- 12
lab1/10215501433.sh View File

@ -1,12 +0,0 @@
#!/bin/bash
for i in `seq 1000`;do echo $RANDOM | md5sum | cut -c 1-9 ;done >> random1000.txt
#以覆盖写的方式,字母排序,输出unique行
sort -u random1000.txt > alph
#以覆盖写的方式,数字排序,输出unique行
sort -u -n random1000.txt > num
#以追加写的方式,字母排序,输出unique行
sort -u random1000.txt >> alph
#以追加写的方式,数字排序,输出unique行
sort -u -n random1000.txt >> num
#继续在里面查找coumputer
grep -c "Computer" random1000

Loading…
Cancel
Save