I would like to change the outputformat of mtree(8) to be more
systematic and machine-readable.

The changes amount to:

        make "extra" and "missing" attributes in the output
        rather than prefixes which can be confused with filenames.

        Don't do the "run-in" of the first attribute with a short
        filename

I attach below a before/after example which show the effect.

Any objections ?

Poul-Henning


    Before:
        ------------
        rc:     size (13134, 13135)
                cksum (2005920215, 873112433)
        ttys:   cksum (2486739860, 2798556681)
        extra: bla
        malloc.conf: 
                permissions (0755, 0777)
        missing: ./objformat
        ------------

    After:
        ------------
        rc: 
                size (13134, 13135)
                cksum (2005920215, 873112433)
        ttys: 
                cksum (2486739860, 2798556681)
        bla:
                extra
        malloc.conf: 
                permissions (0755, 0777)
        ./objformat:
                missing
        ------------


--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to