Is there a way to search the content of a specific column of a csv file using the terminal. But that it still returns all the information of the rest of the columns.
I want to be able to search for a string in a column of a csv file and if it matches return all of the information in the same Row
Is there away of implementing it into a shell bash file and ask the user what string to search
awk
. Have you tried anything so far?awk -F, '$N == 'some string'
, replacing N with the column number under consideration.