Matching a regex metacharacter literally
Advertisements My understanding of Regex’s in AWK is that in order to match a Regex metacharacter literally (For example: +,$,^,*,etc) You must escape them, like so: awk -F ‘\\+’ ‘program here’ However I’ve noticed that you don’t actually need to do this with certain metacharacters, such as the "+" Input file: this|is|a|line this+is+a+line this?is?a?line this*is*a*line… Read More Matching a regex metacharacter literally