zsh-users
 help / color / mirror / code / Atom feed
* Preventing "no matches found:"
@ 2005-07-22 22:24 Tim McNerney
  2005-07-22 23:01 ` Jos Backus
  0 siblings, 1 reply; 5+ messages in thread
From: Tim McNerney @ 2005-07-22 22:24 UTC (permalink / raw)
  To: zsh-users

Is there some way to indicate that patterns may have no matches? I am  
doing a cron job that does cleanup of all files older than a certain  
time and have a line like:

   rm ~/log/**/*.log(m+7)

and would like to avoid the message:

   no matches found: ~/log/**/*.log(m+7)

by somehow indicating, either through a setopt or a parameter for (),  
that no matches is not an error.

Thanks.

--Tim


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

end of thread, other threads:[~2005-07-23  6:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-22 22:24 Preventing "no matches found:" Tim McNerney
2005-07-22 23:01 ` Jos Backus
2005-07-23  0:14   ` John Reese
2005-07-23  2:10     ` Jos Backus
2005-07-23  6:47       ` Tim McNerney

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