* [3.0.5] pattern ^*.tif gives non-existing file
@ 1998-06-13 19:06 Sven Guckes
1998-06-13 23:29 ` Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Sven Guckes @ 1998-06-13 19:06 UTC (permalink / raw)
To: zsh-users
"Identify, user!"
$ echo $ZSH_VERSION
3.0.5
Here we go:
I wanted to quickly see all non-TIFF files in the TIFF dir.
So I thought the file pattern must be "^*.tif". But see:
$ cd pics/tiff
$ ls ^*.tif
doku04.tif doku04b.tif
Now, both these files certainly do end in ".tif". Huh?
But now the scary part: doku04.tif does not exist!
Should I upgrade the ZSH?
Or am I misreading file pattern again?
Sven %-/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [3.0.5] pattern ^*.tif gives non-existing file
1998-06-13 19:06 [3.0.5] pattern ^*.tif gives non-existing file Sven Guckes
@ 1998-06-13 23:29 ` Bart Schaefer
1998-06-15 0:27 ` [3.0.5] pattern ^*.tif gives non-existing file (solved) Sven Guckes
0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 1998-06-13 23:29 UTC (permalink / raw)
To: Sven Guckes, zsh-users
On Jun 13, 9:06pm, Sven Guckes wrote:
} Subject: [3.0.5] pattern ^*.tif gives non-existing file
}
} I wanted to quickly see all non-TIFF files in the TIFF dir.
} So I thought the file pattern must be "^*.tif". But see:
}
} $ cd pics/tiff
} $ ls ^*.tif
} doku04.tif doku04b.tif
}
} Now, both these files certainly do end in ".tif". Huh?
} But now the scary part: doku04.tif does not exist!
Try "echo ^*.tif". I suspect you'll find that what gets echo'd is the
name of a directory, and that in that directory are the two files above.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [3.0.5] pattern ^*.tif gives non-existing file (solved)
1998-06-13 23:29 ` Bart Schaefer
@ 1998-06-15 0:27 ` Sven Guckes
0 siblings, 0 replies; 3+ messages in thread
From: Sven Guckes @ 1998-06-15 0:27 UTC (permalink / raw)
To: zsh-users
Quoting Bart Schaefer (schaefer@brasslantern.com):
> } $ cd pics/tiff
> } $ ls ^*.tif
> } doku04.tif doku04b.tif
> } Now, both these files certainly do end in ".tif". Huh?
> } But now the scary part: doku04.tif does not exist!
> Try "echo ^*.tif". I suspect you'll find that what gets echo'd is the
> name of a directory, and that in that directory are the two files above.
BINGO! :-) - There was a subdir "bak" with those files in it.
Sorry for the noise, folks!
Sven [*blushing*]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-06-15 0:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-13 19:06 [3.0.5] pattern ^*.tif gives non-existing file Sven Guckes
1998-06-13 23:29 ` Bart Schaefer
1998-06-15 0:27 ` [3.0.5] pattern ^*.tif gives non-existing file (solved) Sven Guckes
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).