zsh-users
 help / color / mirror / code / Atom feed
* Suppressing failed glob patterns
@ 2008-12-04 20:55 Thorsten Kampe
  2008-12-04 21:04 ` Frank Terbeck
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Thorsten Kampe @ 2008-12-04 20:55 UTC (permalink / raw)
  To: zsh-users

Hi,

I like the default in zsh for failed glob patterns (which errors when no 
file matches the pattern). 

For example:
% rm file1.* file2.*                                                          
zsh: no matches found: file1.*

zsh never executes rm (which is fine). Additionially I would like to get 
rid of the error message in a script. Unfortunately redirecting stderr 
does not work (because rm is never executed). Is there a way to keep the 
default and to suppress the error?!

Thorsten


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2008-12-08 23:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-04 20:55 Suppressing failed glob patterns Thorsten Kampe
2008-12-04 21:04 ` Frank Terbeck
2008-12-04 21:17   ` Michael Hernandez
2008-12-04 21:24   ` Thorsten Kampe
2008-12-04 21:27     ` Bart Schaefer
2008-12-04 21:33       ` Thorsten Kampe
2008-12-04 21:29     ` Frank Terbeck
2008-12-04 21:30     ` Benjamin R. Haskell
2008-12-04 21:39       ` Stephane Chazelas
2008-12-04 21:13 ` N.J. Mann
2008-12-04 21:21   ` Michael Hernandez
2008-12-04 21:21   ` Frank Terbeck
2008-12-04 21:25   ` Thorsten Kampe
2008-12-08 23:19     ` Benjamin R. Haskell
2008-12-04 21:26 ` Michael Hernandez
2008-12-04 21:32   ` Thorsten Kampe
2008-12-04 21:44     ` Michael Hernandez
2008-12-04 21:36 ` Stephane Chazelas
2008-12-04 21:40   ` Thorsten Kampe

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