Major bash-noob here. Writing my second program again. For my homework, I need to write a number of grep statements using regexps.
This is the first one I'm trying to write. I'm saving it as grep.bash:
#!/bin/bash
egrep bright_side_of_life 'the'
The error I get is :
egrep: the: no such file or directory