2
0
Fork 0
mirror of https://github.com/garabik/grc.git synced 2024-11-15 14:48:26 +01:00
bash-color-grc/colourfiles/conf.ifconfig
Radovan Garabík 5758a80b5e spelling
2017-04-21 10:29:25 +02:00

51 lines
821 B
Text

# ipv4
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
colours=bold green
=======
# ipv6
regexp=\b[0-9a-fA-F]{1,4}(\:\:?[0-9a-fA-F]{1,4})+
colours=bold green
=======
# hwaddr
regexp=(\d|[a-f]){2}(\:(\d|[a-f]){2}){5}
colours=yellow
=======
# size
regexp=\d+(\.\d+)?\s(T|G|M|K|)i?B
colours=yellow
=======
# interface
regexp=^([a-z0-9]{2,}\d*):?\s
colours=bold green
=======
#ip disc
regexp=(inet6?|netmask|broadcast)
colours=cyan
=======
#flags
regexp=(?<=[,<])[^,]+?(?=[,>])
colours=blue
=======
# mtu
regexp=(?i)mtu(\s|\:)\d+
colours=green
=======
#errors
regexp=errors(\s|\:)\d+
colours=red
=======
regexp=dropped(\s|\:)\d+
colours=white
=======
regexp=overruns(\s|\:)\d+
colours=green
=======
regexp=frame(\s|\:)\d+
colours=white
=======
regexp=carrier(\s|\:)\d+
colours=cyan
=======
regexp=collisions(\s|\:)\d+
colours=red