I thought this will be simple, but can't find out how to do it.ScenarioI have a single .csv file with id_user,text,id_group columns where each column is delimited by tabs such like:123456789        Here's the field of the text, also contains comma        10987456321        Here's the field of the text, also contains comma        10123654789        Here's the field of the text, also contains comma        11987456123        Here's the field of the text, also contains comma        11How to find the the text?AttemptawkI was looking for a way to specify the print $n delimiter, if I could do it an option will be$ awk -d '\t' '{print $2}' file.csv | sed -e 's///gp'where -d is the delimiter for the print option and the sed to take out the 
Find text between tab (\t) as a delimiter
text processing;sed;awk
TAB delimitercutYou do not need sed or awk, a simple cut will do:cut -f2 infileawkIf you want to use awk, the way to supply the delimiter is either through the -F argument or as a FS= postfix:awk -F '\t' '{ print $2 }' infileOr:awk '{ print $2 }' FS='\t' infileOutput in all cases:Here's the field of the text, also contains commaHere's the field of the text, also contains commaHere's the field of the text, also contains commaHere's the field of the text, also contains commaQuote delimiterIf the double-quotes in the file are consistent, i.e. no embedded double-quotes in fields, you could use them as the delimiter and avoid having them in the output, e.g.:cutcut -d\ -f4 infileawkawk -F\ '{ print $4 }' infileOutput in both cases:Here's the field of the text, also contains commaHere's the field of the text, also contains commaHere's the field of the text, also contains commaHere's the field of the text, also contains comma