> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ross Smith
> Sent: Tuesday, May 10, 2005 4:33 PM
> To: cygwin@cygwin.com
> Subject: Re: "ls" finds file1 but "ls file1" does not
>
> Charles D. Russell w
Charles D. Russell wrote:
Eric Blake wrote:
mv -v "$f" " ` echo $f | tr A-Z a-z ` "
EVIL - you are moving "FOO" to " foo " (Windows strips trailing spaces,
but not leading spaces, so it is really moving to " foo"). YOU ARE
ADDING SPACES to the filename. Fix your script so that there are no
sp
Eric Blake wrote:
mv -v "$f" " ` echo $f | tr A-Z a-z ` "
EVIL - you are moving "FOO" to " foo " (Windows strips trailing spaces,
but not leading spaces, so it is really moving to " foo"). YOU ARE
ADDING SPACES to the filename. Fix your script so that there are no
spaces between "` and `".
__
Original Message
>From: Charles D. Russell
>Sent: 10 May 2005 16:54
> __
> I am attaching cygcheck in case you can find something obvious.
> However,I am reluctant to upgrade because the use of large static
> fortran arrays with cygwin/g77 seems to be a fragile issue and my
> mv -v "$f" " ` echo $f | tr A-Z a-z ` "
EVIL - you are moving "FOO" to " foo " (Windows strips trailing spaces, but not
leading spaces, so it is really moving to " foo"). YOU ARE ADDING SPACES to
the filename. Fix your script so that there are no spaces between "` and `".
Also, as mention
Eric Blake wrote:
What version of coreutils are you using? Attach the output of `cygcheck
-svr' as described in cygwin.com/problems.html, then consider upgrading.
__
I am attaching cygcheck in case you can find something obvious.
However,I am reluctant to upgrade because the use
Original Message
>From: Ross b
>Sent: 10 May 2005 16:17
>
> I'm wondering if something else happened in the renaming
> script. Is it possible there is a space (or some other
> non-printable character) as the first character of the file
> names? The output on a couple of messages leads m
> >> [etc] Did your ash script go wrong and rename all
> those files with
> actual
> >> asterisks on the end ?
>
> > The * in the listing just indicates that the file is
> executable (an ls
> > option that I use by default).
>
>
> Hey, just wondered. It happened to me once
>
>
I'm won
Original Message
>From: Charles D. Russell
>Sent: 10 May 2005 04:58
>> [etc] Did your ash script go wrong and rename all those files with
actual
>> asterisks on the end ?
> The * in the listing just indicates that the file is executable (an ls
> option that I use by default).
Hey,
> $ echo ignoring:$GLOBIGNORE options:$-
> ignoring: options:himBH
>
> $ shopt |grep glob
> dotglob off
> extglob off
> nocaseglob off
> nullgloboff
OK, bash is not filtering the glob. But you are obviously using an alias or
function for ls, since it is acting like
> > "ls" finds file1 but "ls file1" does not. How can this
> happen?
> >
> > The following example occurred just after I had renamed
> some *.htm files
> > to *.html using
> > an ash shell script. No such problem occurred, however,
> when I used DOS
> > "rename" to make
> > the same change.
>
>
Original Message
>From: Charles D. Russell
>Sent: 09 May 2005 20:07
> "ls" finds file1 but "ls file1" does not. How can this happen?
>
> The following example occurred just after I had renamed some *.htm files
> to *.html using
> an ash shell script. No such problem occurred, however, w
> Response to Eric Blake:
> Thanks. I forgot that unix had separate permissions for directories.
> However, I have
> now given myself all the permissions I know of and I still have the same
> problem.
>
> EXAMPLE:
>
> $ ls ass*
> ls: ass*: No such file or directory <--BUT IT IS THERE
>
> "ls" finds file1 but "ls file1" does not. How can this happen?
>
[...]
>
> The only difference here from a correctly working directory is that the
> correctly working
> directory does not have execute permissions
You are correct that it has something with permissions. Observe:
$ umask
0077
14 matches
Mail list logo