kbforme has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am using expect module of perl on unix platform. I am sending a string "send echo $<SOME_ENV_VAR> in the send function of expect. The value of that environment variable is pretty huge and the entire value is not displayed, its getting chopped off after 150 odd characters. So, I am expaecting a value which will be at the end of that environment variable thus failing my scripts.
Is there any restriction like that for the number of chars when run through send funciton of expect? If there or not, how can I handle this?
If the run echo $<ENV_VAR> directly on my command window, I do get the entire value. Only with send function I am not able to get full value.
Thanking in advance.