DEV Community

Roy
Roy

Posted on

relational expression and /regular expression/ in awk

regular expression surround by // is used as pattern, do not surounded your regular expression with//' in relational expression, but if you use something like$0 ~ /re/', the re used to test $0 is actually /re/' with the surrounding//`

Top comments (0)