On Sat, 23 Jun 2001, Eric Bock wrote:
> Wget seems to completely ignore links if they look like
> <a href=http://www.google.com/en>, since it tries to match the quotes.
> This is valid HTML; shouldn't wget be able to handle it?
Oops, sorry... checked the code and found that the missing quotes are okay;
perhaps the problem is that it thinks http://216.239.33.100/en and
http://www.google.com/en are the same, when in fact they aren't?
--
/* Eric */main(s,i,j,k,c){char*p=malloc(s=1),*a=p+(*p=i=j=k=0)/* Bock */
;while(~(*a=getchar())&&(++a-p<s||(a=(p=realloc(p,s+s))+s)&&(s+=s))||(*a
=0));for(a=malloc(s=1),*a=0;(c=p[i])&&(c=='+'&&++a[j]||c=='-'&&--a[j]||c
=='>'&&(++j<s||(a=realloc(a,s+s))&&memset(a+s,0,s)&&(s+=s))||c=='<'&&j--
||c=='.'&&~putchar(a[j])||c==','&&~(a[j]=getchar()))|!strchr("><.,",c);i
++)while((c=='['&&!a[j]||c==']'&&a[j])&&(k+=(p[i]=='[')-(p[i]==']'))&&p[
i+=c/* Brainf*** */=='[']&&(/* worse than */i-=c==']'/* this sig! */));}