On 20 February 2006 23:04, Joe Smith wrote:
> "Igor Peshansky" wrote:
>> True, except cygstart won't do unconditional 'www*'->'http://www*'
>> translation if a file with that name exists (e.g., try "touch
>> www.cygwin.com && cygstart www.cygwin.com").
>> Igor
>
> Cmd's 'start' command is exactly
"Igor Peshansky" wrote:
True, except cygstart won't do unconditional 'www*'->'http://www*'
translation if a file with that name exists (e.g., try "touch
www.cygwin.com && cygstart www.cygwin.com").
Igor
Cmd's 'start' command is exactly the same in this respect.
I'm betting that the 'run' apple
On Thu, 16 Feb 2006, Brian Dessent wrote:
> zzapper wrote:
>
> > # c:/progra~1/opera75/opera.exe $url
> > c:/Program\ Files/internet\ explorer/iexplore $url &
> > }
>
> Yuck. No need to do this, just "cygstart http://www.cygwin.com"; or
> "cygstart www.cygwin.com". This will launch the URL in wh
Brian Dessent wrote:
> Yuck. No need to do this, just "cygstart http://www.cygwin.com"; or
> "cygstart www.cygwin.com". This will launch the URL in whatever browser
> the user has configured to handle http://, rather than hardcoding it.
> This is equivalent to Start -> Run.
And, on top of that,
zzapper wrote:
> # c:/progra~1/opera75/opera.exe $url
> c:/Program\ Files/internet\ explorer/iexplore $url &
> }
Yuck. No need to do this, just "cygstart http://www.cygwin.com"; or
"cygstart www.cygwin.com". This will launch the URL in whatever browser
the user has configured to handle http://,
Hi
> gurl www.cygwin.com
or just gurl if url already in paste buffer
> gurl
function gurl()
{
# Go to URL
# description : Open URL in browser if no parameter use paste buffer
if [ $# -gt 0 ]
then
url=$1
else
url=$(getclip)
fi
if [[ "$url" = www* ]]
then
# add http:// prefix if required
url="http
6 matches
Mail list logo