Search Results

Search: Posts Made By: Manyaka
3,571
Posted By Manyaka
Hi Scott, thanks again for your help! I finally...
Hi Scott, thanks again for your help! I finally figured it out - found a very simple solution: I just had to add an ^ before "$row" to only search within the first column..

cat fileB | while read...
3,571
Posted By Manyaka
Hi Scott can I send you an eMail? I tried but " o...
Hi Scott can I send you an eMail? I tried but " o be able to send PMs your post count must be 10 or greater."

---------- Post updated at 04:47 AM ---------- Previous update was at 04:24 AM...
3,571
Posted By Manyaka
Thanks for the fast reply. I now have: cat...
Thanks for the fast reply. I now have:

cat fileA | while read row ; do
$ awk 'NR==FNR{A[$1]=1; next} A[$1] {print $2}' fileA fileB > fileC

The "$" seems to produce an error. What does the "A"...
3,571
Posted By Manyaka
awk or grep to search one column and output the other
Hello,

it would be great if someone can help me with the following:
I want to search for the rows from fileA in column 1 of fileB and output column 2 of fileB if found in fileC. In the moment I...
Showing results 1 to 4 of 4

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