I am trying to combine work tvg-name with multiple lines of a file
tr '\n' '~' < file1.txt | sed s/~/tvg-name/g
results in only first single-line print
tvg-namegama1
my file1.txt has more than 50 lines e.g.
gama1
beta2
tera3
and so on more than 50 lines
required output
tvg-name="gama1"
tvg-name="beta2"
and so on till the file ends.