|
file1:
name
nameabc
bcd
nameabcdefg
file2:
age
age1111
age2345
age6743
Above given are my two files. I have issued a command like
echo "`paste -d'|' file1 file2`" > file3
I am getting file3 as:
name|age
nameabc|age1111
bcd|age2345
nameabcdefg|age6743
whereas I want the values to start from a single column. Something like
file3:
name\t\t\t\t\t\t\t|age
nameabc\t\t\t\t\t|age1111
bcd\t\t\t\t\t\t\t\t|age2345
nameabcdefg\t\t\t|ge6743
All of the data in red should start from a fixed column!
|