Search the occurence occur in *.pro files, and print only the name of files where the occurence was found.
[pene@donunix] grep occur *.pro | sed -e 's/\(.*\.pro\):.*/\1/' | uniq
print (only) the name of file for a grep command
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment