The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
5answers
4k views

How do you write specific bytes to a file?

Given a file myfile with the following contents: $ cat myfile foos A hexdump of the file gives us the contents: $ hexdump myfile 6f66 736f 000a Currently, I can create the file by specifying the ...
5
votes
1answer
224 views

Which tools for ASCII portfolio visualization?

I. I want to do a simple graph from timestamp YEAR-month-day to valuation, not wanting to use spreadsheets. Is there some ASCII tool for it to see it on CLI? There are over 500k lines of data, and I ...
4
votes
2answers
1k views

Can vim display ASCII characters only, and treat other bytes as binary data?

I already know vim -b, however, depending on the locale used, it displays multi-byte characters (like UTF-8) as single letters. How can I ask vim to only display ASCII printable characters, and ...
3
votes
2answers
722 views

How is the octal 2-byte output calculated from od

I'm struggling to work out what the octal 2-byte output from the od command is. I understand the octal output (-b flag) but the octal 2-byte is a mystery to me (-o) Can someone shed some light on how ...