#!/bin/bashif test -z $1; then echo -e "/nUsage : $0 Route_file/n" false;exitfiwhile read
#!/bin/bashif test -z $1; then echo -e "/nUsage : $0 Route_file/n" false;exitfiwhile read net;do echo -e "${net} /c" /sbin/ip route show match ${net} | /usr/bin/head -1done < $1