[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
succinct awk code to check for paired parantheses?
From: |
Peng Yu |
Subject: |
succinct awk code to check for paired parantheses? |
Date: |
Wed, 24 Mar 2021 08:32:14 -0500 |
Hi,
I want to check whether parentheses (only "()") in a string are all
paired. Here is some awk code. But it looks quite clumsy. Is there a
better implementation more readable and succinct? Thanks.
https://stackoverflow.com/questions/2667494/awk-brackets-checking
--
Regards,
Peng
- succinct awk code to check for paired parantheses?,
Peng Yu <=