1. 27

  2. 10

    There is already another “extended dump [and load]” program called xd out there: https://www.fourmilab.ch/xd/

      1. 14

        Yes, but it’s not written in Rust so the new utility automatically takes precedence /s.

        1. 2


        2. 5

          You should let the author know!

            1. 2


          1. 6

            I wish people writing utilities would not be so arrogant as to assume their utility is so important as to warrant taking a two-letter command name. There’s only one namespace for commands. Leave the shortest names for user’s own aliases.

            1. 2

              Leave the shortest names

              One character names?

              1. 3

                Zero character. Not sure if there’s only one of them, none of them, or an infinite number.

              2. 1

                I agree. However, a command may have started as a personal command that has then become public.

                Still, the author of the xd thing announced here should have done their homework and searched the interwebs for commands of the same name.

            2. 8

              Might I suggest using terminal colors to highlight ASCII bytes?

              1. 3

                Maybe hexyl (which is already colorful) should also gain this xd’s important features (codepages for non-printable chars)…

                1. 2

                  Great idea, you should let them know about your concept.

                2. 8

                  XTree Gold for DOS used to have this - and the last page of the DOS 5.0 manual had a table of the ANSI mappings. When I was still quite young I figured out how to hack a few games saved games files (ahh, BattleTech) and had memorised a fair number of the symbols/byte values.

                  I always wondered why this convention wasn’t popular in the Linux world? Or why nice TUI tools similar to XTree Gold weren’t popular?

                  1. 4

                    My take on this would be that when I’m looking at the right columns I’m looking for text, that’s the whole point of the right column. Adding gibberish only makes it harder to spot the ASCII string and could maybe only help me to see repetition among bytes, which is already somewhat easy to do in the hex dump (At least, for most meaningful patterns such as values aligned on 4 bytes or null filling). The hex dump is often enough to spot binary patterns.