Here's /bin/env. (was: environment size question).
Tony Olekshy
tony at oha.UUCP
Mon Jul 11 19:26:41 AEST 1988
In a recent article, Mike Wescott writes:
>
> In article <4717 at killer.UUCP> jockc at killer.UUCP (Jock Cooper) writes:
> >
> > Is there a way to increase the size of the environment variable table?
> > My implementation allows only 100, and I need more.
> ...
> There is no limit in your /bin/sh for 100 environment variables. ... It's in
> /bin/env and not the shell. ... It'll print the garbage "after" the 100th
> variable.
So I says to him, I says:
#include <stdio.h>
main(c,a,e) char *a[],*e[]; { while (*e!=0) { puts(*e++); } exit(0); }
Yours, etc., Tony Olekshy (alberta!oha!tony, tony at oha.UUCP).
More information about the Comp.unix.questions
mailing list