Skip to content

Commit eeec845

Browse files
author
Andrii Sultanov
committed
xe-cli completion: Use grep -E instead of egrep
Otherwise newer packages in XS9 issue "egrep: warning: egrep is obsolescent; using grep -E" warnings all over the place. Signed-off-by: Andrii Sultanov <andrii.sultanov@cloud.com>
1 parent 536db8c commit eeec845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xe-cli/bash-completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ description()
675675

676676
__process_params()
677677
{
678-
echo "$1" | cut -d: -f2- | egrep -v "^ $" | cut -c 2- | \
678+
echo "$1" | cut -d: -f2- | grep -Ev "^ $" | cut -c 2- | \
679679
sed -e 's/,/=,/g' -e 's/$/=/g' -e 's/:=/:/g' -e 's/-=/-/g' -e 's/ //g'
680680
}
681681

0 commit comments

Comments
 (0)