2
0
mirror of https://github.com/garabik/grc.git synced 2024-10-28 17:41:01 +01:00
bash-color-grc/colourfiles/conf.ipaddr

60 lines
1.0 KiB
Plaintext
Raw Normal View History

2016-05-14 07:25:47 +02:00
# IP4
regexp=inet\s([^\/]+)\/(\d+)
colours=default,bold yellow,bold magenta
=====
2016-06-19 01:18:18 +02:00
# broadcast
regexp=brd\s([^}s]+)
2018-05-14 22:53:00 +02:00
colours=default,dark cyan
=====
# dynamic
regexp=\bdynamic\b
colours=dark green
2016-06-19 01:18:18 +02:00
=====
2016-05-14 07:25:47 +02:00
# IP6
regexp=inet6\s([^\/]+)\/(\d+)
colours=default,yellow,magenta
=====
# MAC
regexp=link\/ether\s(\S+)\s
colours=default,magenta
=====
# State UP
regexp=(\d+):\s(\S+):.+state (UP)
colours=default,bright_white,bold green,bold green
=====
# State DOWN
regexp=(\d+):\s(\S+):.+state (DOWN)
colours=default,bright_white,bold red,bold red
=====
# State UNKNOWN
regexp=(\d+):\s(\S+):.+state (UNKNOWN)
colours=default,bright_white,bold cyan,cyan
=====
2016-06-19 01:18:18 +02:00
# State DORMANT
regexp=(\d+):\s(\S+):.+state (DORMANT)
colours=default,bright_white,bold cyan,cyan
=====
2016-05-14 07:25:47 +02:00
# < >
regexp=\s<([^>]+)>
colours=default,cyan
=====
2018-05-14 22:53:00 +02:00
# NO-CARRIER
regexp=NO-CARRIER
colours=bold red
=====
2016-05-14 07:25:47 +02:00
# Master dev
regexp=\smaster\s(\S+)\s
2016-06-19 01:18:18 +02:00
colours=default,on_blue white
=====
# on
regexp=\son\s
colours=green
=====
# off
regexp=\soff\s
colours=dark red
=====
# link/none
regexp=link\/(none)
colours=unchanged,red