awk get the second column from command output
textfile
hello,lautturi,java,world
awk print second column
awk -F ',' '{print $2}' textfile