]> git.ozlabs.org Git - ccan/commit
ccan: make tal_dump() format more regular.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Nov 2021 02:06:52 +0000 (12:36 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Nov 2021 02:06:52 +0000 (12:36 +1030)
commitca7c5a9e04f3ef526cb2a10ad63105af025aa49c
tree7b4767a50f9aab9ec6e0acb74b56182b11358f65
parentcc888f28fd025c9073a7b34662d409cf5be0a6d9
ccan: make tal_dump() format more regular.

Putting a \n in there was a pain: I had to do:

awk '/CHILDREN/ { SAVED=$0 } !/CHILDREN/ { print SAVED$0; SAVED="" }' < lightningd-tal_dump > lightningd-tal_dump-children-on-same-line

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/tal.c