From 748ab4f791b3dab0eed2d4baad16aaa5e0fb64a8 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 8 Jun 2000 14:36:24 +0000 Subject: avoid bug in IRIX's sed and use new -K option to zparseopts in _urls --- ChangeLog | 5 +++++ Completion/User/_urls | 4 ++-- Doc/Makefile.in | 2 +- 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 + + * 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: 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 ")"; \ -- cgit 1.4.1