Paste two text lists (one list a file) into one list separated by semicolon Paste two text lists (one list a file) into one list separated by semicolon unix unix

Paste two text lists (one list a file) into one list separated by semicolon


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 file2hello;fooworld;bar