【问题标题】:ct lsco -a -s -cview | xargs ct ci -nc (Clearcase multiple files check-in)ct lsco -a -s -cview | xargs ct ci -nc(清除多个文件签入)
【发布时间】:2013-05-19 20:55:24
【问题描述】:

在 linux 上运行此命令时出现错误。

ct lsco -a -s -cview | xargs ct ci -nc

ct 代表cleartool

xargs: ct: No such file or directory

我怎样才能避免这个错误?

【问题讨论】:

    标签: clearcase xargs


    【解决方案1】:

    不要将别名“ct”与xargs 一起使用。

    使用cleartool

    如“xargs doesn't recognize bash aliases”中所述:

    这不起作用,因为xargs 期望能够exec 作为其参数给出的程序。

    由于在您的情况下ct 只是一个 bash 别名或函数,因此没有要执行的程序。

    更多详情请见“How can I use aliased commands with xargs?”。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-04
      • 1970-01-01
      • 2022-08-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多