Hi.
A post by ghostdog74 at split files by specifying a string (bash shell) - LinuxQuestions.org made me think that many awk scripts could benefit from being tidied.
I know that {aigles awk bakunin cfaj futurelet ghostdog74 radoulov summer_cherry vgersh99 Ygor} among others post awk code. Often the code is clever, but it takes me a while to understand it because my thought processes are not exactly like those of the author. If it were to be in a standard format then perhaps the intent and method would be made more clear.
I'm posting this at unix.com because it seems to be the place that has the most awk action.
There is an awkpretty at awk tools , but it's not trivial to install (i.e. I tried it and failed, modified a few items, installed it, but it will not run past a certain point -- you're probably better at recognizing the problem(s) with it than I am, so you're welcome to try your hand at it if you wish). It has the advantage of being very general. As I understand it, it used the awk interpreter's parser, but a potential drawback of that is then it might not recognize all the {g, n, m, other}awk extensions.
Would an awktidy be useful for others?
Do you know of any such codes?
What would be some useful features for you in such a code? ... cheers, drl