]> granicus.if.org Git - strace/commit
xlat: normalise fsmagic formatting
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 26 Aug 2019 08:53:14 +0000 (10:53 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Aug 2019 10:52:24 +0000 (10:52 +0000)
commit0aeead5c03e9e57223f3aba01de8b74e7842fda8
tree9a9f0de1263eac67161dd3a310f403abebd9c78f
parent1782a29184d58b0014e8fd412b071bc655d5929d
xlat: normalise fsmagic formatting

For historical reasons, it was this way as there was no support for
explicitly defined xlat values, which is no longer the case.

The following command was used:

    sed -ri \
        -e 's/^\{ ([^]*),[[:space:]]*"([^"]*)"([[:space:]]*)\},$/\2\3\1/' \
        -e 's/^([^\t]{14,15}\t)/\1\t/' \
        xlat/fsmagic.in

* xlat/fsmagic.in: Normalise the formatting.
xlat/fsmagic.in