最初のファイルの行の長さに関係なく、貼り付けの2番目のファイルが同じ場所から始まるようにするにはどうすればよいですか?たとえば、
file1:
small
incredibly humungous
file 2:
A
B
file1 file2を出力に貼り付けたいです。
small A
incredibly humungous B
変える:
small A
incredibly humungous B
ベストアンサー1
column
区切り文字としてwithコマンドを使用できますtab
。
paste file1 file2 | column -s $'\t' -t
small A
incredibly humungous B