Print all-printable-ASCII byte arrays as strings
authorWill Thompson <will.thompson@collabora.co.uk>
Wed, 28 Oct 2009 19:40:38 +0000 (19:40 +0000)
committerColin Walters <walters@verbum.org>
Thu, 28 Jan 2010 22:01:24 +0000 (17:01 -0500)
commita8e620a0ff60eef983a9be95e2b27dbcdcbaf654
treeeebb123c2d015158dff6f0644146a4414c1e6562
parent1a33efb54b6a40d48b64c735741298afc699bbd3
Print all-printable-ASCII byte arrays as strings

In practice, ay seems to be used mostly for binary data (in which case,
hex output is fine) or for Unix file paths (because they may be
non-UTF-8) and similar human-readable strings. So let's print the latter
similarly to strings.
tools/dbus-print-message.c