When working with regular expressions in a shell script the norm is to use grep or sed or some other external command/program. Since version 3 of bash (released in 2004) there is another option: bash's built-in regular expression comparison operator "=~".
Full story »Categories
Best karma users
Popular this week - High End
Popular today
- 16 Freedom Socks - Episode 7 - we interview Matt Lee about the Stephen Fry video
- 14 Red Hat Advances Virtualization Leadership with Qumranet, Inc. Acquisition
- 12 Why I won’t be using Google’s Chrome much
- 12 OSS advocates file human rights complaint against SA election body
- 4 Tomorrow's War: Why FOSS Needs to Change its Views of Apple






