Well, this is at least 4M on my box. At that moment I became bored and wandered. I hope the terminal’s exit will be completed until I get back to work on Monday :-)
export b1=A export b2=$b1$b1 export b4=$b2$b2 export b8=$b4$b4 export b16=$b8$b8 export b32=$b16$b16 export b64=$b32$b32 export b128=$b64$b64 export b256=$b128$b128 export b512=$b256$b256 export b1k=$b512$b512 export b2k=$b1k$b1k export b4k=$b2k$b2k export b8k=$b4k$b4k export b16k=$b8k$b8k export b32k=$b16k$b16k export b64k=$b32k$b32k export b128k=$b64k$b64k export b256k=$b128k$b128k export b512k=$b256k$b256k export b1m=$b512k$b512k export b2m=$b1m$b1m export b4m=$b2m$b2m echo $b4m AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA : : : : : : : : : : : : AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
If you are concerned that 4M might not be enough for your environment variable, you can rethink how you do it.
It might be better to put the information in a file, and then use an environment variable to reference that file. I have seen cases when a variable has the form @/path/to/any/fspec , it gets the actual information from the file path/to/any/fspec . If it does not start with @ , it uses the value of the environment variable itself.
Interestingly, given all these variables, each individual team begins to complain that the argument list is too long, so even if it allows you to set them, it may not be able to run programs after you have done this (since it should transfer the environment to these programs).
paxdiablo Jul 03 '09 at 7:38 2009-07-03 07:38
source share