Search Results

Search: Posts Made By: whatisthis
1
awk
1,607
Posted By whatisthis
awk
Hi,
Does anyone know what's wrong with my script?
"if field 1 in txt.tmp = variable, print whole line"

respond is an variable.


awk -F" " '$1 == $respond { print $0}' txt.tmp

??
Showing results 1 to 1 of 1

 

Featured Tech Videos

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