I want to grep for a user given queue in all
*.idf.txt files under a directory full of subdirectories that include the
*.idf.txt files, and store the results so I can later enter those subdirectories.
grep command I have is below and it works:
cmd = "grep -Rl --include=*.idf.txt " + queue + "/home/labani1/mkann_common/Projects/Expression_Atlas/data" os.system(cmd)
But how do I do this in a way in which I can save the results to a list or another variable?