Hi,
Tx. - did my due diligence and got this article but was looking for a
shell script/unix utility - maybe based on sed or awk that can write what we need to a text file.

Rgds