Clearcase: list labels matching a specific line

I would like to list the available labels corresponding to the specific line used in the view.

+3
source share
2 answers

I confirm that filter in is cleartool findnot possible:

 ct find . -ele "lbtype_sub(My_LAB*)" -print

will not work (no wildcard in the query argument .

If you cannot use grep in a shell connection, can you use grep in the exec part found, as in this example ?

ct find . -kind lbtype -exec "echo %CLEARCASE_PN%|grep MY_LAB"

If this is unacceptable, you need to write the result to a file and process it with another tool (sed?)

Windows, Unix: . SO.
grep.

Windows, FIND ( ).

+3

. , , VOB ( ClearTool).

lstype -kind lbtype -invob vob_path_and_name -short

, , U: VOB "Some_VOB" :

lstype -kind lbtype -invob U:\Some_VOB -short
+1

Source: https://habr.com/ru/post/1756712/


All Articles