Search Results

Search: Posts Made By: shunter0810
2,157
Posted By shunter0810
Need help with Join on multiple fields
Hi, I need help with the join command
I have 2 files that I want to join on multiple fields.
I want to return all records from file 1
I also want empty fields in my joined file if there isn't...
1,729
Posted By shunter0810
Variable not holding it's value in awk statement
Thanks for the post.... I have been trying to figure out
why my variable doesnt have a value in my awk statement


This doesnt work:
cat <file> | awk '{ if ( $1 == $variable ) print $0 }'
...
Showing results 1 to 2 of 2

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