Need to extract lines from multiple text file

Viewed 21

I am trying to extract specified lines from multiple text files, text1.txt, text2.txt.

cat text1.txt
"jack"="2",
"jack2"="5",
"jack3"="2",
"john"="3",
"john2"="9"'

cat text2.txt
"jack"="5",
"jack2"="7",
"jack3"="8",
"john"="3",
"john2"="9"

What I want to achieve(need columns to differentiate both the files, remove ", blank line after match example jack and jack2)

Team1          Team2
jack=2         jack=5
jack2=5        jack2=7

john=3         john=3
john2=9        john2=9
0 Answers
Related