A mondern alternative to sed
given a executable file parse_ifconfig such as
```
/^(?P[a-zA-Z0-9]+): /,/^[a-zA-Z0-9]+:/ { /inet (?P[0-9]{1,3}(.[0-9]{1,3}){3})/ { print("${inter}: ${ip}") } } ```
running ifconfig | parse\_ifconfig should yield your current network interfaces which have ips
ifconfig | parse\_ifconfig