Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Util/preconfig
- X-seq: zsh-workers 9138
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: Util/preconfig
- Date: 23 Dec 1999 06:59:28 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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