Search Results

Search: Posts Made By: heyooo
2,813
Posted By heyooo
Geez nevermind.
Geez nevermind. I thought the command was simple enough.
2,813
Posted By heyooo
Use cut output as variable piped awk command
Hi,

I would like use the output of my cut command as a variable in my following awk command. Here's what I've written.

cut -f1 info.txt | awk -v i=xargs -F'[\t]' '{if($6 == $i) print $20}'...
Showing results 1 to 2 of 2

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