This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Mailing list redirection etiquette?
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 6 Oct 2004 18:25:31 +0100
- Subject: RE: Mailing list redirection etiquette?
> -----Original Message-----
> From: cygwin-owner On Behalf Of Fred Kulack
> Sent: 06 October 2004 17:29
> From your command prompt, use:
> > google cygwin acronym list
>
> If that doesn't work, setup this function:
> > typeset -f google
> google ()
> {
> url="http://www.google.com";
> separator="/search?q=";
> for i in $@;
> do
> url="${url}${separator}${i}";
> separator="+";
> done;
> echo "Starting: $url";
> ~/bin/firefox "$url" &
> }
Nice one! Can I just suggest one little change:
======================================
echo "Starting: $url";
- ~/bin/firefox "$url" &
+ cygstart "$url" &
}
which should be more generic across different browsers etc.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/