X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 17 Nov 2011 11:27:24 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: filename with HASH Message-ID: <20111117102724.GB17717@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <32858658 DOT post AT talk DOT nabble DOT com> <32858723 DOT post AT talk DOT nabble DOT com> <4EC4DA4E DOT 60303 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4EC4DA4E.60303@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Nov 17 09:56, Dave Korn wrote: > On 17/11/2011 00:29, pen wrote: > > Few more tests: seems lynx dont like # > > > > $ mv "test bay#, wwid" "test # abc" > > $ lynx -dump "test # abc" > > > > Can't Access `file://localhost/cygdrive/e/test%20#%20abc' > > Alert!: Unable to access document. > > > > lynx: Can't access startfile > > > > $ mv "test # abc" "test# a" > > $ lynx -dump "test# a" > > > > Looking up test > > Making HTTP connection to test > > Alert!: Unable to connect to remote host. << > > > > lynx: Can't access startfile http://test/#%20a > > A "#" marks a separator in a URL between the URI part and the anchor within > the page to load up the display at. I think lynx is applying the same syntax > to local file URLs; for example, if you have a local file "index.html", you > can append any arbitrary # anchor to it: Apart from that, all non-graphical characters in an URL are converted to the %xx syntax. Therefore, the URL "test # abc" is converted to "file://[$PWD]/test%20#%20abc" *before* trying to find the file. So lynx tries to access the file "test%20#%20abc" in the current directory, which obviously doesn't exist. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple