dickiebird
Programmer
Hi Guys
Can't get to grips with regex in AWK !
I'm sure someone will enlighten me.
I want to print only Uppercase or numeric strings
from my output (4 chars min, up to 6 chars max) .
I'm doing awk '/[A-Z][0-9]/ {print}'
but that allows through lowercase and non-printables too.
What should it be ?
TIA
Dickie Bird
Honi soit qui mal y pense
Can't get to grips with regex in AWK !
I'm sure someone will enlighten me.
I want to print only Uppercase or numeric strings
from my output (4 chars min, up to 6 chars max) .
I'm doing awk '/[A-Z][0-9]/ {print}'
but that allows through lowercase and non-printables too.
What should it be ?
TIA
Dickie Bird
Honi soit qui mal y pense