Hello,
I have two files to be treated.
First file:
col1 col2 col3 col4
Second file:
colbis
- I try to add the unique column of the file 2 towards the file 1.
- To obtain the following result with a shell script ksh:
col1 col2 col3 col4 colbis
Thank you for your help
RudiC
2
Any ideas/attempts from your side?
I don't know how to malipulate 2 files with awk.
I don't know where to start
RudiC
4
No need for awk. For single line files as posted, try
cat file[12] | xargs
col1 col2 col3 col4 colbis
For multiline files try
paste -d" " file[12]
col1 col2 col3 col4 colbis
1 Like
Thanks a lot
I also find the command paste:)