[cciug] solution: assign string with special characters to attribute valu e

From: Berger Torsten (K8/EWG TPFE99) (Torsten.Berger@de.bosch.com)
Date: Fri Jan 28 2000 - 05:45:17 EST


For everyone dealing with similar problems: here's the solution!

Thanks for your support!

Dr.-Ing. Torsten Berger
Robert Bosch GmbH - K8/EWG
phone (+49) 711 811 33844
fax (+49) 711 811 2850

> -----Ursprüngliche Nachricht-----
> Von: Marek Romuald (QI/AST4)
> Gesendet am: Donnerstag, 27. Januar 2000 15:26
> An: EXTERN Yeats Darren (WA Consultants; K5/ESQ1); Disterheft Martin
> (QI/AST4) *; EXTERN Chapman Roy (WA-Consultants; K5/ESQ1)
> Cc: Berger Torsten (K8/EWG TPFE99)
> Betreff: AW: CCUIG response
>
> Hi all,
>
> It also works in non-interactive mode,
> you only need to replace each blank with \x20 (ascii value for blank).
>
> e.g.
> F:\ast4\romuald>ct mkattr -replace STR_ATTRIB \"a\x20&\x20b\x20->\x20c\" .
> Created attribute "STR_ATTRIB" on ".@@\main\1".
>
> F:\ast4\romuald>ct describe -l .
> directory version ".@@\main\1"
> created 27-Jan-00.13:36:46 by mkr8fe.cc_ast43@fe18611
> "Added file element "hello.bat"."
> Element Protection:
> User : mkr8fe : rwx
> Group: cc_ast43 : rwx
> Other: : rwx
> element type: directory
> predecessor version: \main\0
> Attributes:
> STR_ATTRIB = "a & b -> c"
>
> Regards
> Romuald
         
         <<[cciug] assign string with special characters to attribute
value>>


attached mail follows:



Hi there,

has anybody an idea how to assign a string of special characters and space
characters (e.g. "a & b --> c") to an attribute (ClearCase 3.2.1, NT)?

According to the reference manual I tried out
clearcase mkattr test \"a & b --> c\" test.txt@@
as well as
clearcase mkattr test \""a & b --> c"\" test.txt@@

Both commands do not work.

Funny, because
clearcase mkattr test \"a&b-->c\" test.txt@@
does work with strings without space characters as well as
clearcase mkattr test \""a and b results in c"\" test.txt@@
does work with strings without special characters.
The combination of special characters and space characters seems to be the
problem.

Thanks in advance for your help!

Torsten

Dr.-Ing. Torsten Berger
Robert Bosch GmbH - K8/EWG
phone (+49) 711 811 33844
fax (+49) 711 811 2850

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:22:40 EDT