1

AWK match string, not Regex

view story
linux-howto

http://unix.stackexchange.com – How do I match a string with AWK? Say I have the string [(*.+ it should only match strings containing the string [(*.+. The string is entered by the user, so if you know a cli utility that can escape regexes it may work too. Edit: It should also match strings containing the string, such as foo[(*.+bar. (HowTos)