#!/bin/bashs="Some kernel: 10KBSome kernel: 10001KBAnd kernel: 2001KB"echo "$s" | grep 'kernel:' | grep '\b[1-9][0-9]\{3,\}KB'
Standard input is empty
Some kernel: 10001KB And kernel: 2001KB
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!