# cat file1
milind mumbai
rahul gujrat
mayur surat
# cat file2
10jun
22july
12december
# paste file1 file2
milind mumbai 10jun
rahul gujrat 22july
mayur surat 12december
content of file 1 and file 2 are separated by tab.
If you want to include any other delimiter please use it as follows .
In following example I have used space delimiter.
# paste -d' ' file1 file2
milind mumbai 10jun
rahul gujrat 22july
mayur surat 12december
No comments:
Post a Comment