summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/User/_urls4
-rw-r--r--Doc/Makefile.in2
3 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f7aca4352..b249e1eb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-08  Oliver Kiddle  <opk@zsh.org>
+
+	* 11823: Doc/Makefile.in, Completion/User/_urls: avoid bug in
+	IRIX's sed and use new -K option to zparseopts in _urls
+
 2000-06-08  Peter Stephenson  <pws@cambridgesiliconradio.com>
 
 	* pws: 11820: Src/main.c: metafication of command line arguments
diff --git a/Completion/User/_urls b/Completion/User/_urls
index f9aa69f6d..d8c737fb5 100644
--- a/Completion/User/_urls
+++ b/Completion/User/_urls
@@ -52,8 +52,8 @@ if [[ "$1" = -f ]]; then
   _wanted -C -f files expl file _files "$@" && return 0
 fi
 
-zparseopts -D -E g:=glob
-: ${(A)=glob:=-g '*(^/)'}
+glob=(-g '*(^/)')
+zparseopts -D -K -E g:=glob
 
 ipre="$IPREFIX"
 
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 29dafca3a..1240069ad 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -193,7 +193,7 @@ Zsh/modlist.yo: $(MODDOCSRC)
 	( \
 	    echo "startitem()"; \
 	    for modfile in $(MODDOCSRC); do \
-		sed -ne '1{s|^COMMENT(!MOD!\(.*\)$$|item(tt(\1))(|;p;d;}' \
+		sed -n -e '1{s|^COMMENT(!MOD!\(.*\)$$|item(tt(\1))(|;p;d;}' \
 		    -e '/^!MOD!)$$/q;p' \
 		    < $(sdir)/$$modfile; \
 		echo ")"; \