I am using this code:
#!/bin/sh
if [ $# -lt 2 ]
then
echo "wrong syntax"
echo "ct_cmp.sh <label1> <label2> [<file_extension>]"
else
if [ $# -eq 2 ]
then
cleartool find . -version 'lbtype($1) && \!lbtype($2)' -print
fi
fi
but get this result:
cleartool:
Error: Invalid query: "lbtype($1) && \!lbtype($2)"