If one was to run the following command
cat * | grep DATABASE
the shell would spit out all the lines in * files that contained the word
DATABASE in them. Is there any way to also spit out what file each line is apart of?
I tried to use the
-H option for grep which according to
print the filename for each match but in my shell it just says
(standard input):$DATABASE_FUNCTION = dothis();