#!/bin/bashs='hi helo tmp#100000 bye100000 hi byehi 100000 bye'var=100000grep -E "(^|[[:blank:]])$var($|[[:blank:]])" <<< "$s"
Standard input is empty
100000 hi bye hi 100000 bye
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!