ct lsco -a -s -cview | xargs ct ci -nc(清除多个文件签入) [英] ct lsco -a -s -cview | xargs ct ci -nc (Clearcase multiple files check-in)

查看:49
本文介绍了ct lsco -a -s -cview | xargs ct ci -nc(清除多个文件签入)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I get error while running this command on linux.

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

ct 是对于 cleartool

xargs: ct: No such file or directory

如何避免此错误?

推荐答案

不要在 xargs 中使用别名 ct

使用 cleartool

xargs 无法识别bash别名

As explained in "xargs doesn't recognize bash aliases":


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

This doesn't work because xargs expects to be able to exec the program given as its parameter.

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

Since ct in your case is just a bash alias or function there's no program to execute.

如何在 xargs ?

这篇关于ct lsco -a -s -cview | xargs ct ci -nc(清除多个文件签入)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆