I am a beginner in scripting and wanted to find how can i possibly find a full row on basis of column values.
I have found a code
awk -F, '$1=="abc"' filename.csv
but the twist is here the abc might be stored in a variable and in that case it is not working because ' ' in case of bash doesnt recognise the variable.
Any help would be greatly appreciated
Asked
Active
Viewed 14 times
1

devesh marwah
- 51
- 6