views:

87

answers:

2

An example of the process/output would be:

File1:

hello
world

File2:

foo
bar

Resulting file after concatenation:

File3:

hello;foo
world;bar

For a large list of non-predictive text (no-wild cards - but lines are aligned as above).

I cannot figure out how to do this with the paste command under Ubuntu.

+4  A: 

cat concatenates by lines (or, more accurately, doesn't care what the contents are).

What you seem to need is something more like paste.

$ paste -d\; file1 file2
hello;foo
world;bar
JB
Thank you for pointing me in the right direction.
+2  A: 
paste -d';' File1 File2  >  File3
mouviciel
Works Perfectly! Sticks two lists together, and delimits with a ;.