When I set a variable with multiple sequential spaces in the value
then pull back the variable later the extra spaces are collapsed.  For
example:

---------------------------------------------------------
$ STAF local var set system var multi-space=one two  three
$ STAF local var list system |grep multi-space
multi-space                                              : one two three
---------------------------------------------------------

I found however that if I wrap the value in quotes:

---------------------------------------------------------
$ STAF local var set system var multi-space="one two  three"
$ STAF local var list system |grep multi-space
multi-space                                              : one two  three
---------------------------------------------------------

I get the right answer.  Is this the expected behaviour?

---------------------------------------------------------
version=3.3.4
platform=linux
architecture=32-bit
installer=STAFInst
file=STAF334-linux.tar
osname=Linux
osversion=*
osarch=x86
---------------------------------------------------------

-- 
---------------------------------------------------------
Raymond Kroeker

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to