so my input is as following:
1,somerandomwordsx,some.random.words,random.numbers.word,random 2,somerandoms,random,randomnumber, 1,randomwords,word1,word2,word3 21,randomwords,words.random,unique.word,more.random.words 111,randomword1,random.word2 Output should be
1,somerandomwordsx,some.random.words,random.numbers.word,random 1,randomwords,word1,word2,word3 I tried many ways with awk, grep, sed, but either it ignores commas or it includes every "1," match, including "111," which it should not, only the line with the exact number 1 in the first column should be saved.
Thanks for help!