Create a bash script using regular expressions and grep thatwill output only words within a file that contain a certain patternof letters. The word can have other letters in between the letterspassed in. For example, if “ae” is passed to the script, only wordsthat contain a then e will appear.
A pattern could look anything like the below:
a___e___
ae_____
___a__e___
_a_e_____
______ae_
etc.
Answer