+
means one or more repetitions. For example,a+
will matcha
aa
aaa
etc.a*
match same as+
, but also nonea
flag is used as a temporary information holder.
/ /
is regex holder and is used to show that it must match regex inside the two/
I do suggest you look at some awk
one liners and try to understand how they work. Also start by reading some awk
tutorials. You can find a lot by using Google.