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]

filename with HASH


Need help, Cant access html file from lynx, even though its readable by other
commands.

$ ls -l "test bay#, wwid" 
-rw-r--r--+ 1 test Users 50999 Nov 17 03:22 test bay#, wwid 
$ file "test bay#, wwid" 
test bay#, wwid: HTML document, ASCII text, with very long lines 
$ head -2 "test bay#, wwid" 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; 
> 
$ lynx -dump "test bay#, wwid" 

Can't Access `file://localhost/cygdrive/e/test%20bay#,%20wwid' 
Alert!: Unable to access document. 

lynx: Can't access startfile 

Played around and found that if i create any file with "#, " lynx cant
understand it.
Its on win-7; do not know if there is any other special character that lynx
has problem with.
Can't even check in the script for a valid filename since shell commands
recognize this file well. 

Appreciate your help.
-- 
View this message in context: http://old.nabble.com/filename-with-HASH-tp32858658p32858658.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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


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