diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-04-12 17:12:54 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-04-12 17:12:54 +0000 |
commit | 3715a5bbcfa0270067a781bb1d776871c4994de5 (patch) | |
tree | dce92b19b872884f05f77b1d85512d1efba2f1db | |
parent | 63719320c32fc2a29fd58ea3bcb539baa6068c26 (diff) | |
download | zsh-3715a5bbcfa0270067a781bb1d776871c4994de5.tar.gz zsh-3715a5bbcfa0270067a781bb1d776871c4994de5.tar.xz zsh-3715a5bbcfa0270067a781bb1d776871c4994de5.zip |
10706: Andrej: Fix quoting in awk args.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Completion/User/_man | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 9ff8f9a17..6e117d221 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,13 @@ +2000-04-12 Bart Schaefer <schaefer@brasslantern.com> + + * 10706: Andrej: Completion/User/_man: Fix quoting in awk args. + 2000-04-12 Oliver Kiddle <opk@u.genie.co.uk> * 10701: Completion/Builtins/_bindkey, Doc/Zsh/mod_zle.yo: use _arguments for bindkey completion and fix typo in docs -2000-04-12 Bart Schaefer <schaefer@brasslantern.com> +2000-04-12 Bart Schaefer <schaefer@zsh.org> * 10700: Andrej: Completion/User/_man: Support for Pyramid. diff --git a/Completion/User/_man b/Completion/User/_man index 56c1bab09..0ba1798d1 100644 --- a/Completion/User/_man +++ b/Completion/User/_man @@ -31,7 +31,7 @@ mrd=(${^manpath/\\%L/${LANG:-En_US.ASCII}}/mandb(N)) if [[ $words[2] = (<->*|1M|l|n) ]]; then rep=( $manpath/(sman|man|cat)${words[2]}/${~approx}$PREFIX${~star}$SUFFIX.<->*(N:t) ) - (($#mrd)) && rep[$#rep+1]=($(awk "\$2 == $words[2] {print \$1}" $mrd)) + (($#mrd)) && rep[$#rep+1]=($(awk "\$2 == \"$words[2]\" {print \$1}" $mrd)) else rep=( $manpath/(sman|man|cat)*/${~approx}$PREFIX${~star}$SUFFIX.<->*(N:t) ) (($#mrd)) && rep[$#rep+1]=($(awk '{print $1}' $mrd)) |