Compare commits

...

1 Commits

Author SHA1 Message Date
  ranwan 1dc7f3f49f add 10215501425.sh 2 years ago
1 changed files with 16 additions and 0 deletions
Split View
  1. +16
    -0
      lab1/10215501425.sh

+ 16
- 0
lab1/10215501425.sh View File

@ -0,0 +1,16 @@
#!/bin/bash
for i in {1..1000};
do
echo $RANDOM|md5sum|cut -c 1-9 ;
done >> data;
sort data|uniq;
sort -n data|uniq;
sort -n data|uniq > data1;
sort -n data|uniq >> data2;
grep -o "aa" data1|wc -l;

Loading…
Cancel
Save