Paul Jarc on Tue 29/07 14:10 -0400:
> Scott McDermott <vaxerdec@frontiernet.net> wrote:
> > well maybe not allocation failure:
> >
> > while true; do shift; done
>
> No, it is allocation failure. $search grows without bound:
>
> >>>> search="$search%22$param%22";
>
> I agree that an error message would be nice.
no but I'm saying that a simple
while true; do shift; done
alone, will suffice to segfault the shell.