Replace egrep with grep -E

This commit is contained in:
2Shirt 2022-10-08 19:38:45 -07:00
parent 7714b3436f
commit 7dd35e3572
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -6,7 +6,7 @@ CONFIG_NEW="${HOME}/.config/conky/new.conf"
CONFIG_REAL="${HOME}/.config/conky/conky.conf"
IF_LIST=($(ip l \
| egrep '^[0-9]+:\s+(eth|en|wl)' \
| grep -E '^[0-9]+:\s+(eth|en|wl)' \
| sed -r 's/^[0-9]+:\s+(\w+):.*/\1/' \
| sort))