On Windows, I use my Linux tools :)

WSL is fantastic for this — ‘xxd’ works just as well in a WSL shell as it does on my Arch laptop.

This script is real nice though! I’ve often wished Leo had a ‘hex mode’, for whatever that would mean.  It would be a heavy lift though, to get proper hex editing going. Not to mention figuring out what the semantics of that even mean in the context of an outliner…

Jake

On Jun 11, 2024, at 6:01 AM, Thomas Passin <[email protected]> wrote:

Yes, that kind of display goes *way* back.  And back then you had so little memory that you only wanted to load small slices of a file. I don't know what others do on Windows, but I have a small head.cmd script that uses awk to do the job (for text files, not binaries).

On Tuesday, June 11, 2024 at 5:08:08 AM UTC-4 Edward K. Ream wrote:
On Mon, Jun 10, 2024 at 6:53 PM Thomas Passin <[email protected]> wrote:
Sometimes it is useful to view the first N bytes of a file without reading the whole file. 

This tool reminds me of tools I used ca 1980 at the dawn of the personal computer age.

Edward

--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/23afab4b-f3df-4417-8c71-a105fffc07c3n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/F1990EDA-C4B6-4550-B8DA-FBE0767BA160%40gmail.com.

Reply via email to