Hey there, I'm trying to figure out what makes an awk pattern.
I understand generally it goes
pattern {action}
for example
/blah/ {
printf $1;
}
but do functions also count as patterns?
if i have:
while (rose is red){
printf $1;
}
is the "while" considered a pattern in this case?
also, what is an empty pattern? I've tried searching around but keep getting brought to
https://www.gnu.org/software/gawk/ma...ode/Empty.html
which provides a single line awk command but i'd like to see an empty pattern within a script file.