comma separated variables, grep first, second, third match

echo "one,two,three,four" | tr ',' '\n' | awk "NR==3"

No comments: