| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: Mailing list redirection etiquette? |
| Date: | Wed, 6 Oct 2004 18:25:31 +0100 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <OF0BCACA7A.C518465A-ON86256F25.0059C762-86256F25.005A8EED@us.ibm.com> |
| Message-ID: | <NUTMEGzYFfa5hr6fGny000002d7@NUTMEG.CAM.ARTIMI.COM> |
| X-OriginalArrivalTime: | 06 Oct 2004 17:25:31.0220 (UTC) FILETIME=[7AEAC940:01C4ABC9] |
> -----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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |