Skip to content

Commit

Permalink
xe-cli completion: Use grep -E instead of egrep
Browse files Browse the repository at this point in the history
Otherwise newer packages in XS9 issue
"egrep: warning: egrep is obsolescent; using grep -E"
warnings all over the place.

Signed-off-by: Andrii Sultanov <[email protected]>
  • Loading branch information
last-genius committed Nov 28, 2024
1 parent 536db8c commit eeec845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xe-cli/bash-completion
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ description()

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

Expand Down

0 comments on commit eeec845

Please sign in to comment.