Re: problem with special characters in file command?
- From: "M. Strobel" <sorry_no_mail_here@xxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 08:34:49 +0200
billposer@xxxxxxxxxxxx schrieb:
I'm not convinced there is a Tcl error here.
I've come to this conclusion now.
If I understand
correctly, what you consider to be an error is the fact that both the
xml and wav files are listed when you glob the directory but that when
you execute file readable on the xml file, the result is 0. This need
not be an error. "file readable" does not test the mere existence of
the file; it tests whether it is readable.
I test for readability because this is what I want to do.
The result you are getting
is correct assuming that you do not have read permission for that
file. Your problem may be the permissions on the file rather than
anything in Tcl.
I agree to your argumentation. But the file is readable by the account exectimng the program - my login.
mc is one of the programs that can handle the file name, and I can edit it (for example), but when I go to the shell prompt there are problems as well.
I think I should drop debugging this problem for now, and only allow no-problem-filenames.
Max
.
- References:
- problem with special characters in file command?
- From: M. Strobel
- Re: problem with special characters in file command?
- From: Gerald W. Lester
- Re: problem with special characters in file command?
- From: M. Strobel
- Re: problem with special characters in file command?
- From: billposer
- problem with special characters in file command?
- Prev by Date: Re: Autoproxy behind a corporate firewall that uses a website to configure proxy
- Next by Date: Re: Limiting resources used by scripts on web server
- Previous by thread: Re: problem with special characters in file command?
- Next by thread: Re: problem with special characters in file command?
- Index(es):
Relevant Pages
|