Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个文件:
filea fileb apple juice orange pieces pineapple juice
我想将输出存储在一个新文件中
applejuice orangepieces pineapplejuice
意思是连接我尝试过的unix bash中的2个文件paste filea.txt fileb.txt > new.txt但我有一个错误还有其他选择吗?谢谢你
paste filea.txt fileb.txt > new.txt
我不确定调用时错误是什么意思,paste但您可能想指定分隔符:
paste
paste -d '' filea fileb > new.txt
这将产生: