2 messages in net.sourceforge.lists.courier-users[courier-users] Patch to ignore backu...
FromSent OnAttachments
Martijn LievaartApr 20, 2006 12:41 pm 
Sam VarshavchikMay 2, 2006 6:35 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Patch to ignore backup and editor files in makedatActions...
From:Martijn Lievaart (m@rtij.nl)
Date:Apr 20, 2006 12:41:40 pm
List:net.sourceforge.lists.courier-users

Sam,

Please consider for inclusion. I expect no adverse effects (how many people have valid files ending in ~ or starting with #), and it makes life easier on most common setups.

Cheers, M4

--- makedat 2006-04-20 21:36:39.000000000 +0200 +++ makedat~ 2006-03-27 22:26:38.000000000 +0200 @@ -84,7 +84,7 @@ then if test "$srcfile" != "CVS" then - for f in `ls "$srcfile"/*|grep -e "~$" -e "^#"` + for f in "$srcfile"/* do test -f $f || continue cat "$f" || return