How in Bash to generate a string given by a regex expression and pipe it to another command?
For example:
> $RANDOM | regex "{abcdef\d}[8]" | grep "1{3}" | less
I did not find which utility can generate strings based on a regex expression special
The regex expression is the input. I want to find a utility that generates strings based on regex.
For example:
> regex "{abcdef\d}[8]" -n 10
b8789a62 97303666 8b536c28 79590607 6d80ad60 78d36ded aa001d9a 8826f276 df1e1f7a 854307db