[p4] Using "^" (carrots) in client spec names
Looney, James B
james.b.looney at lmco.com
Wed May 2 08:05:48 PDT 2007
We have a script that does some data mining based on the client spec
names, so we need a delimiter. Our client spec names are based on a
directory structure, so we have to be careful not to use characters
commonly found in directory names. I finally thought of a ^ ( carrot ).
So, I try the following:
p4 client client^spec^name
p4 -c client^spec^name <add/open/whatever...I mess around a bit with it>
The above seems to work. So, to make my life easier, I switch over to
using the config file containing:
P4CLIENT=client^spec^name
This results in:
p4 where .
. - must refer to client 'client^spec^name'.
Does anyone know what that means? It almost seems like its trying to
interpret the ^ as the shell might. If I use the same command with a
non-^ delimted spec name, it works. Thoughts?
Thanks,
-JB
More information about the perforce-user
mailing list