in Linux by

 Write a command that will do the following:

-look for all files in the current and subsequent directories with an extension c,v

-strip the,v from the result (you can use sed command)

-use the result and use a grep command to search for all occurrences of the word ORANGE in the files.

1 Answer

0 votes
by
Find ./ -name "*.c,v" | sed 's/,v//g' | xargs grep "ORANGE"
...