Search Results

Search: Posts Made By: lanna001
9,084
Posted By lanna001
grep not behaving the way I'd like
Thanks for the reply. That did make things easier however it's not behaving exactly as I'd like.

grep -f file1 file2

This finds every occurrence of the line in file1 in file2. So, I would...
9,084
Posted By lanna001
Compare 2 array files using grep
Using the bash shell I am trying to read in 2 files. The first file (file1) is a list of names to search for in (file2). If a name in file1 is found in file2 I want the entire line in file2 to be...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy