Re: [staf-users] Set Variable Multiple Space(s)

2010-02-22 Thread Raymond Kroeker
The same behaviour manifests when I use Java code to set the variable, so it's not due to the shell. My previous attempts at using wrap manifested as setting the value to: :3:one instead of: one The issue was that I was wrapping only the value and not name=value. Once I did this things worked ou

Re: [staf-users] Set Variable Multiple Space(s)

2010-02-18 Thread Sharon Lucas
Yes, you must "wrap" an option value that contains spaces (so that the STAF command parser knows when an option value begins and ends) using either double quotes, or the length delimited format that is of the form :: for which STAF provides wrapData() APIs for programming languages such as C++

Re: [staf-users] Set Variable Multiple Space(s)

2010-02-18 Thread Joseph J Veilleux
My guess is that your command shell is parsing the command line and compressing out the multiple spaces before the arguments even get in to the STAF command. When you quote the argument, it tells the command shell to leave the value (inside the quotes) along, thus STAF sees the value having mul