#!/bin/bashs="say: a[aa] to bbb, not ba[aa]"sed 's|\<a\[aa]|bbb|g' <<< "$s"
Standard input is empty
say: bbb to bbb, not ba[aa]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!