The grep utility supports the XBD specification, Utility Syntax Guidelines . The following options are supported: -E. Match using extended regular expressions. Treat each pattern specified as an ERE, as described in the XBD specification, Extended Regular Expressions .