#!/bin/bashs='2.1.1.0/242.2.2.0/2421.2.2.0/2424.5.7.0/2422.6.7.0/24224.25.75.0/24'grep '^2[.]' <<< "$s"
Standard input is empty
2.1.1.0/24 2.2.2.0/24
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!