小编Met*_*ild的帖子

在 Linux 粘贴命令中对齐输出

无论第一个文件中的行长度如何,如何使粘贴中的第二个文件在同一位置开始?例如:

file1:
small
incredibly humungous

file 2:
A
B
Run Code Online (Sandbox Code Playgroud)

我想粘贴 file1 file2 来输出:

small                        A
incredibly humungous         B
Run Code Online (Sandbox Code Playgroud)

代替:

small                        A
incredibly humungous                        B
Run Code Online (Sandbox Code Playgroud)

linux columns output

4
推荐指数
1
解决办法
3372
查看次数

标签 统计

columns ×1

linux ×1

output ×1