Hello all,
I'm still learning Unix so please bear with me =) I'm sure there's a simple solution to this....
I have 3 files; file1.txt, file2.txt, file3.txt with one line of text each (respectively):
header_line
line1=variable
line2=variable
What I'm trying to do is combine all three of these text files and their corresponding line into just one file...i.e. final_file.txt with:
header_line
line1=variable
line2=variable
I know that grep will probably be used somewhere in this...any help is appreciated.
Thanks,
Jisoo23
I'm still learning Unix so please bear with me =) I'm sure there's a simple solution to this....
I have 3 files; file1.txt, file2.txt, file3.txt with one line of text each (respectively):
header_line
line1=variable
line2=variable
What I'm trying to do is combine all three of these text files and their corresponding line into just one file...i.e. final_file.txt with:
header_line
line1=variable
line2=variable
I know that grep will probably be used somewhere in this...any help is appreciated.
Thanks,
Jisoo23