simple merge of CSV file
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to merge two CSV without any condition and no primary.It should be first row file1 and file2.
file1
id,name,city
file2
mobileno,address,email
output
id,name,city,mobileno,address,,email
can you please let me know how can i achive this output
csv merge
add a comment |Â
up vote
0
down vote
favorite
I want to merge two CSV without any condition and no primary.It should be first row file1 and file2.
file1
id,name,city
file2
mobileno,address,email
output
id,name,city,mobileno,address,,email
can you please let me know how can i achive this output
csv merge
1
Are we to assume that the double comma in the output is a typo?
â Kusalananda
Feb 16 at 12:14
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to merge two CSV without any condition and no primary.It should be first row file1 and file2.
file1
id,name,city
file2
mobileno,address,email
output
id,name,city,mobileno,address,,email
can you please let me know how can i achive this output
csv merge
I want to merge two CSV without any condition and no primary.It should be first row file1 and file2.
file1
id,name,city
file2
mobileno,address,email
output
id,name,city,mobileno,address,,email
can you please let me know how can i achive this output
csv merge
edited Feb 16 at 12:13
Kusalananda
103k13202318
103k13202318
asked Feb 16 at 11:52
arunramalingam83
1
1
1
Are we to assume that the double comma in the output is a typo?
â Kusalananda
Feb 16 at 12:14
add a comment |Â
1
Are we to assume that the double comma in the output is a typo?
â Kusalananda
Feb 16 at 12:14
1
1
Are we to assume that the double comma in the output is a typo?
â Kusalananda
Feb 16 at 12:14
Are we to assume that the double comma in the output is a typo?
â Kusalananda
Feb 16 at 12:14
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
Use paste and set the delimiter to comma as opposed to tab with -d:
paste -d, file1 file2
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
Use paste and set the delimiter to comma as opposed to tab with -d:
paste -d, file1 file2
add a comment |Â
up vote
5
down vote
Use paste and set the delimiter to comma as opposed to tab with -d:
paste -d, file1 file2
add a comment |Â
up vote
5
down vote
up vote
5
down vote
Use paste and set the delimiter to comma as opposed to tab with -d:
paste -d, file1 file2
Use paste and set the delimiter to comma as opposed to tab with -d:
paste -d, file1 file2
answered Feb 16 at 12:07
Raman Sailopal
1,18317
1,18317
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f424588%2fsimple-merge-of-csv-file%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Are we to assume that the double comma in the output is a typo?
â Kusalananda
Feb 16 at 12:14