在Ubuntu中按列合并两个文件?

Tim*_*Tim 4 linux text-editing ubuntu

我有两个文件:一个就像

preface
Introduction
chapter 1
Run Code Online (Sandbox Code Playgroud)

另一个就像

1
2
3
Run Code Online (Sandbox Code Playgroud)

我想知道如何按列将两个文件合并为一个:

preface 1
Introduction 2
chapter 1 3
Run Code Online (Sandbox Code Playgroud)

通过使用一些实用程序,例如 awk、sed,在 Ubuntu 中可用?

感谢致敬!

use*_*686 7

paste fileone filetwo
Run Code Online (Sandbox Code Playgroud)

使用-d指定的分隔符。