sasuser2006
Technical User
I am wanting to grep the contents of fileA in fileB...so if anything in fileB exist in fileA i want to write it out to fileC but i can't remember how to grep a file instead of a string.
I know this isn't right but i can't get it to work anyway...
grep fileA fileB > fileC
or
grep fileA < fileB > fileC
Thanks in advance for your help.
I know this isn't right but i can't get it to work anyway...
grep fileA fileB > fileC
or
grep fileA < fileB > fileC
Thanks in advance for your help.