paste without temporary files in Unix

后端 未结 4 1716
一个人的身影
一个人的身影 2021-01-31 04:10

I\'m trying to use the Unix command paste, which is like a column-appending form of cat, and came across a puzzle I\'ve never known how to solve in Unix.

How can you use

4条回答
  •  广开言路
    2021-01-31 04:55

    You do not need temp files under bash, try this:

    paste <(./progA) <(./progB)
    

    See "Process Substitution" in the Bash manual.

提交回复
热议问题