Write a bash script that takes a string as an argument and performs the following tasks:
Save the first command line parameter in a variable called input_string
.
Remove the shortest match of the pattern “*Hello” from the beginning of the string.
Remove the longest match of the pattern “*Hello” from the beginning of the string.
$ ./pattern_match.sh "HelloHelloWorld"
Original string: HelloHelloWorld
Shortest match removed: HelloWorld
Longest match removed: World