* ? in filename matching
@ 1997-06-10 15:05 Timothy J. Luoma
1997-06-10 15:27 ` Zefram
0 siblings, 1 reply; 2+ messages in thread
From: Timothy J. Luoma @ 1997-06-10 15:05 UTC (permalink / raw)
To: zsh-users
I just made a bunch of changes to my setopts and one of them seems to have
a side effect I didn't realize or understand.
If I have a bunch of files
file.1234
file.abdf
file.MEME
and I want to match them all, I thought I did 'ls file.????' (to get
just the files named 'file.' with 4 characters after the .)
now I get 'file.???? not found'
I know this is going to be super easy and you'll wonder why I couldn't
figure it out, but there it is....
TjL
--
TjL <luomat@peak.org> / http://www.peak.org/~luomat/next/
"The best things in life are made into inferior
versions and bundled with the latest Microsoft systems"
NeXT bookmarks: http://www.peak.org/~luomat/next/bookmarks.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ? in filename matching
1997-06-10 15:05 ? in filename matching Timothy J. Luoma
@ 1997-06-10 15:27 ` Zefram
0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 1997-06-10 15:27 UTC (permalink / raw)
To: luomat; +Cc: zsh-users
Timothy J. Luoma wrote:
>and I want to match them all, I thought I did 'ls file.????' (to get
>just the files named 'file.' with 4 characters after the .)
>
>now I get 'file.???? not found'
Do the files still exist? Of have you possibly typed "setopt noglob",
"unsetopt glob" or "set -f"?
-zefram
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-06-10 15:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-06-10 15:05 ? in filename matching Timothy J. Luoma
1997-06-10 15:27 ` Zefram
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).