Unix - “xargs” - output “in the middle” (not at the end!)

后端 未结 4 2076
借酒劲吻你
借酒劲吻你 2020-12-19 00:17

example use of xargs application in Unix can be something like this:

ls | xargs echo

which is the same as (let\'s say I have <

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-19 00:51

    You do not need xargs for this. Just use:

    g++ `find . -type f -name '*.cpp'` -o outputFile
    

提交回复
热议问题