This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Open URLs with # using cygstart.exe


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: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]