Replace egrep with grep -E
This commit is contained in:
parent
7714b3436f
commit
7dd35e3572
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ CONFIG_NEW="${HOME}/.config/conky/new.conf"
|
||||||
CONFIG_REAL="${HOME}/.config/conky/conky.conf"
|
CONFIG_REAL="${HOME}/.config/conky/conky.conf"
|
||||||
|
|
||||||
IF_LIST=($(ip l \
|
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/' \
|
| sed -r 's/^[0-9]+:\s+(\w+):.*/\1/' \
|
||||||
| sort))
|
| sort))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue