Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Util/preconfig



On 4.4BSD, find print no files because `.' is matched to `*.*'.  So I
changed the pattern to `?*.*'.

Index: Util/preconfig
===================================================================
RCS file: /projects/zsh/zsh/Util/preconfig,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 preconfig
--- Util/preconfig	1999/12/20 14:02:07	1.1.1.1
+++ Util/preconfig	1999/12/22 21:56:12
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-find . \( -name '*.*' -prune \) -o \( -name .preconfig -print \) | (
+find . \( -name '?*.*' -prune \) -o \( -name .preconfig -print \) | (
     while read pre; do
 	cmd=`echo $pre | sed 's,^,cd ,;s,/\([^/]*\)$, \&\& ./\1,'`
 	echo >&2 "$cmd"
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author