http://qs321.pair.com?node_id=1133695


in reply to Re^4: Looking for ideas: Converting a binary 'flags' field into something human readable
in thread Looking for ideas: Converting a binary 'flags' field into something human readable

% perl flag_compress.pl sideways |ompressed up |lse | deleted down | bar | | that
Hmm. Looks quite strange. But I like the idea to try to keep all annotations on the same line and if that is not possible create a new line:
    flags1 => 0b0100110000100000101000000000100000000000000101000000000000001111;
#                | compressed   | other     | and another  |foo             | up
#                   | deleted                                | bar           | down 
#                    | this       | something else                            | charm
#                         | that                                               | strange
Thanks!

Update

Downloaded the code via wget using the download link. Output looks a lot better after converting from DOS to UNIX file format.