I have an awk script that takes user input
uclass. But can be defaulted if not supplied.
Code:
if (uclass == "") uclass="([[:graph:]]+)"
Customarily user input does not include the grouping clause
() that allows me to capture the sub-pattern later.
How can I set the grouping characters around the user input if supplied?