使用bash从以前的输出流生成多个命令

使用bash从以前的输出流生成多个命令,bash,xargs,git-clone,Bash,Xargs,Git Clone,我有一个bash命令,可以输出几个存储库URL https://repos.com/abc https://repos.com/def https://repos.com/ghi 我想通过管道传输这些URL来构建几个git clone命令,例如它执行的命令: git clone https://repos.com/abc git clone https://repos.com/def git clone https://repos.com/ghi 请问我该怎么做? 谢谢我是用 xargs-n

我有一个bash命令,可以输出几个存储库URL

https://repos.com/abc
https://repos.com/def
https://repos.com/ghi
我想通过管道传输这些URL来构建几个git clone命令,例如它执行的命令:

git clone https://repos.com/abc
git clone https://repos.com/def
git clone https://repos.com/ghi
请问我该怎么做? 谢谢

我是用
xargs-n1 git clone

能否提供输出存储库URL的命令?或者至少是类似的东西?