in reply to Re^7: Align given substring(s) in lines
in thread Align given substring(s) in lines

I meant both one-liners and larger scripts; I find that awk can be used with great success in both ways. Here is a simple markup language implemented in awk, for example. It does approach the border of what is reasonable (and maintainable) awk code, though.
An artifact of this that some might notice is my abuse of $a and $b due to them being exempt from the checks...

Clever!

  • Comment on Re^8: Align given substring(s) in lines