commit:     e6f03e5fb6c26f9ada7fabf25126a135f5ef1dbf
Author:     Paul Varner <fuzzyray <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  2 19:30:31 2015 +0000
Commit:     Paul Varner <fuzzyray <AT> gentoo <DOT> org>
CommitDate: Tue Jun  2 19:30:31 2015 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=e6f03e5f

euse: Fix 'grep: Unmatched ( or \(' errors with euse -i

 bin/euse | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/euse b/bin/euse
index c3f9f24..56fc917 100755
--- a/bin/euse
+++ b/bin/euse
@@ -771,7 +771,7 @@ showdesc() {
                        fi
                        # Fetch all the packages data using this flag
                        infos=$( grep -h ":${1}  *-" 
${PORTAGE_REPO_PATHS[@]/%//profiles/use.local.desc} 2> /dev/null \
-                               | sed -re "s/^([^:]+):(.*)  *- 
*(.+)/\1|\2|\3/g")
+                               | sed -re "s/^([^:]+):(.*)  *-  
*(.+)/\1|\2|\3/g")
                        OIFS=$IFS; IFS=$'\n'; infos=($infos); IFS=$OIFS;
                        for line in "${infos[@]}"; do
                                OIFS=$IFS; IFS="|"; line=($line); IFS=$OIFS

Reply via email to