> probably meaningless, but urlencode was also giving 
> incorrect results for:

> $ urlencode 
> https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak&action=history

> but it shows correct result:

> $ urlencode 
> 'https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak&action=history'

This is, again, a shell issue.

$ command foo&bar

is, for most shells, equivalent to

$ command foo bar &

or

$ command foo &
$ bar

or some such.  Depending on the shell, the ? might also cause trouble
(but shells vary more in that regard).

Quoting it with ' ' avoids this.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mo...@rodents-montreal.org
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Reply via email to