From e6f03e5fb6c26f9ada7fabf25126a135f5ef1dbf Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Tue, 2 Jun 2015 14:30:31 -0500 Subject: 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 -- cgit v1.2.3