You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
207 B

  1. #!/bin/bash
  2. for i in {1..1000};
  3. do
  4. echo $RANDOM|md5sum|cut -c 1-9 ;
  5. done >> data;
  6. sort data|uniq;
  7. sort -n data|uniq;
  8. sort -n data|uniq > data1;
  9. sort -n data|uniq >> data2;
  10. grep -o "aa" data1|wc -l;