From af8b430e7bd58fac43fbdf2906bd915dae4ab95a Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 18 Nov 2001 20:26:32 +0000 Subject: 16264: don't use grep and sed in _dput --- ChangeLog | 5 +++++ Completion/Debian/Command/_dput | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bd678f42c..0e2882e66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-18 Clint Adams + + * 16264: Completion/Debian/Command/_dput: + Use parameter expansion instead of grep and sed. + 2001-11-15 Clint Adams * unposted: Functions/Prompts/prompt_clint_setup: diff --git a/Completion/Debian/Command/_dput b/Completion/Debian/Command/_dput index 39d2973bc..5fe9847d1 100644 --- a/Completion/Debian/Command/_dput +++ b/Completion/Debian/Command/_dput @@ -1,9 +1,7 @@ #compdef dput if (( ! $+_dput_sites )); then - _dput_sites=( -$(grep "^\[" /etc/dput.cf | sed -e 's,\[,,g' -e 's,\],,g') -) + _dput_sites=( ${${(M)${(f)"$(