* [9fans] awk handling NUL-terminated records
@ 2017-06-07 18:52 dexen deVries
0 siblings, 0 replies; only message in thread
From: dexen deVries @ 2017-06-07 18:52 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
i was mildly surprised that p9p awk handles NUL-terminated records just fine.
either via -v 'RS=\0', or via BEGIN { RS="\0" }
needed it to handle output of git status --porcelain=v2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-07 18:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-07 18:52 [9fans] awk handling NUL-terminated records dexen deVries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).