in reply to Why can't I start up lynx with these arguments?

Lynx seems to have some interesting problems with this. This worked for me:
exec "xterm -e lynx $search";
as did this:
use strict; my $search="http://www.google.com/search?q="; foreach my $arg (@ARGV) { $search .= $arg . " "; } $search =~ s/\s/+/g; $search =~ s/\"/%22/g; $search =~ s/\'/%27/g; $search =~ s/\+$//; # $search .= "&btnG=Google+Search"; # $search = "--cookies $search"; exec "w3m $search"

I've found w3m to be better than lynx, anyway (table support, among other things).