Advertisement
Stybyk

ASARegex

Mar 30th, 2019
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. #!/bin/bash
  2. counter=1
  3.  
  4. while [ $counter -le 2000 ]
  5. do
  6. NEW_STRING=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 15 | head -n 1)
  7.  
  8. echo regex bigregex$counter '"'$NEW_STRING'"'  >> createregex.txt
  9. echo no regex bigregex$counter >> deleteregex.txt
  10. echo match regex bigregex$counter >> addmatchregex.txt
  11. echo no match regex bigregex$counter >> removematchregex.txt
  12. ((counter++))
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement