From 3715a5bbcfa0270067a781bb1d776871c4994de5 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 12 Apr 2000 17:12:54 +0000 Subject: 10706: Andrej: Fix quoting in awk args. --- Completion/User/_man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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)) -- cgit 1.4.1