Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com In-Reply-To: To: cygwin AT cygwin DOT com MIME-Version: 1.0 Subject: RE: Mailing list redirection etiquette? Message-ID: From: Fred Kulack Date: Wed, 6 Oct 2004 14:11:39 -0500 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Dang... Had a "multiple code iterations while posting and trying to beat the next guy" bug. $qry.=" " should have been posted as $qry.="%20" Sigh.... Is this thread dead yet? Fixed: google () { qry=$(perl -mCGI -e 'undef $qry; for ($i=0; $i<=$#ARGV; $i++) { if ($ARGV[$i] =~ m/ /) { $ARGV[$i]="\"$ARGV[$i]\""; } if (defined $qry) {$qry.="%20";} $qry.=CGI::escape($ARGV[$i]); }; print "$qry\n";' $@) url="http://www.google.com/search?q=$qry"; echo "Starting: $url"; cygstart -o "$url" >/dev/null } > google "oh what the hell" is this Starting: http://www.google.com/search?q=%22oh%20what%20the%20hell%22%20is%20this -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/