mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-11 20:31:11 +01:00
avoid bug in IRIX's sed and use new -K option to zparseopts in _urls
This commit is contained in:
parent
45d95dde48
commit
748ab4f791
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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 ")"; \
|
||||
|
|
Loading…
Reference in a new issue