diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2000-06-08 14:36:24 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2000-06-08 14:36:24 +0000 |
commit | 748ab4f791b3dab0eed2d4baad16aaa5e0fb64a8 (patch) | |
tree | 60c090d7fe87b4ad613e15e8e538bd23045f780c | |
parent | 45d95dde4817285de344aea414e4543ef79efaab (diff) | |
download | zsh-748ab4f791b3dab0eed2d4baad16aaa5e0fb64a8.tar.gz zsh-748ab4f791b3dab0eed2d4baad16aaa5e0fb64a8.tar.xz zsh-748ab4f791b3dab0eed2d4baad16aaa5e0fb64a8.zip |
avoid bug in IRIX's sed and use new -K option to zparseopts in _urls
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/User/_urls | 4 | ||||
-rw-r--r-- | 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 <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 ")"; \ |