Prev: NYC LOCAL: Tuesday 20 July 2010 NYLUG: Pharo Smalltalk, Python, and More
Next: How do show (on cmdline/terminal) a (text) file content in hexformat?
From: Peter Hanke on 20 Jul 2010 12:17 Assume I have a (text) file. How can I print out this files content from cmdline/terminal as/with hex values? Again: No GUI based hex editor should be used. The output should (if possible) show the real (huma readable) content in a second olumn and be something similar to (only one line sample): 61 6C 69 61 73 20 2E 2E 3D 27 63 64 20 2E 2E 27 alias ..='cd ..' Peter
From: Greg Russell on 20 Jul 2010 16:37
"Peter Hanke" <peter_ha(a)andres.net> wrote in message news:4c45cc32$0$6888$9b4e6d93(a)newsspool2.arcor-online.net... > Assume I have a (text) file. > How can I print out this files content from cmdline/terminal as/with hex values? "man -k hex" would be a good place to start your enquiry. |