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 /Completion/User/_man | |
parent | 63719320c32fc2a29fd58ea3bcb539baa6068c26 (diff) | |
download | zsh-3715a5bbcfa0270067a781bb1d776871c4994de5.tar.gz zsh-3715a5bbcfa0270067a781bb1d776871c4994de5.tar.xz zsh-3715a5bbcfa0270067a781bb1d776871c4994de5.zip |
10706: Andrej: Fix quoting in awk args.
Diffstat (limited to 'Completion/User/_man')
-rw-r--r-- | Completion/User/_man | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |