public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: cygwin@cygwin.com
Subject: Re: Open URLs with # using cygstart.exe
Date: Fri, 13 Jul 2012 15:37:00 -0000	[thread overview]
Message-ID: <500040A8.1070809@redhat.com> (raw)
In-Reply-To: <CA+sc5mkz2UZVGR94yhy9F8dJYa5TFroBJJgSVwTpgSmsfJynLw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

On 07/13/2012 09:33 AM, Earnie Boyd wrote:
> On Fri, Jul 13, 2012 at 8:06 AM, Alexander Konovalov
> <alexk@mcs.st-and.ac.uk> wrote:
>> Dear Cygwin experts,
>>
>> I am trying to open the exact location in the html file using my default
>> browser with the command of the form
>>
>> cygstart.exe file:///C:/somepath/doc/ref/chap31.html#X84F59A2687C62763
>>
> 
> In POSIX shells # indicates to ignore the following as a comment.

Only if it is the first character of a shell word.

$ echo a#b #c
a#b

> Quote the # as in \# to avoid it.

Won't help here; as # isn't the first character of the shell word.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 620 bytes --]

      reply	other threads:[~2012-07-13 15:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-13 12:06 Alexander Konovalov
2012-07-13 12:27 ` Csaba Raduly
2012-07-13 12:38   ` Dima Pasechnik
2012-07-13 13:03     ` Alexander Konovalov
2012-07-13 13:19       ` Ryan Johnson
2012-07-13 13:21         ` Ryan Johnson
2012-07-14  7:25           ` Dima Pasechnik
2012-07-13 14:45       ` Dima Pasechnik
2012-07-14  2:05       ` Andrey Repin
2012-07-14  2:38       ` Ken Brown
2012-07-13 13:14 ` Adam Dinwoodie
2012-07-13 15:33 ` Earnie Boyd
2012-07-13 15:37   ` Eric Blake [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500040A8.1070809@redhat.com \
    --to=eblake@redhat.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).