i am able to make ipcal to give me the NETMASK using the code below.how can i make it take a list of ip address in cidr notation like 41.80.0.0/17 and give me only the ip address of netmask.if i pipe a list of ip addresses(in cidr formart) will it work. thanks

```
#!/bin/bash

echo -n "Enter IP address in CIDR notation: (eg. 192.168.0.0/24) "
read IP_ADDRESS

# Calculate network values
BROADCAST=$(ipcalc -b $IP_ADDRESS)
NETWORK=$(ipcalc -n $IP_ADDRESS)
NETMASK=$(ipcalc -m $IP_ADDRESS)

echo "Set up your ifcfg file with the following values:"
echo $BROADCAST
echo $NETWORK
echo $NETMASK

```