How to break through the restriction that the max. length of a variable name in csh can't exceed to 20 ?

From: Simon Yuan (simon.yuan@263.net)
Date: Tue Nov 28 2006 - 02:50:55 EST


Hi,managers,

In csh(solaris 9),it seems that a variable name length can't exceed to
20,see the testing below:

# setenv abcdefghijklmnopqrstuvw "testing"
# echo $abcdefghijklmnopqrstuvw
   Variable name too long

The above variable length is certainly greater than 20,So csh
complaints it's too long,as think,the value "testing" wouldn't be
assigned to this variable,but:

# env|grep abc
   abcdefghijklmnopqrstuvw=testing

The result is not same with our thinking,what is your comments on this ?

And is there possible way to expand the variable name length in Csh ?

Thanks so much.

Rgds,
Simon
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:15 EDT