Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Preventing "no matches found:"
- X-seq: zsh-users 9126
- From: Tim McNerney <yargo@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Preventing "no matches found:"
- Date: Fri, 22 Jul 2005 15:24:31 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author