Mailinglist Archive: opensuse (3288 mails)

< Previous Next >
Re: [opensuse] search for word in huge txt file
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Tue, 25 Dec 2007 12:11:49 -0800
  • Message-id: <200712251211.49530.rschulz@xxxxxxxxx>
On Tuesday 25 December 2007 11:59, Carlos E. R. wrote:
...
Hex view of then of the file:

FC23ABA0 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABA8 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABB0 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABB8 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABC0 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABC8 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABD0 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABD8 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABE0 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABE8 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABF0 0A 0A 0A 0A 0A 0A 0A 0A ........
FC23ABF8 0A 0A 0A 0A 0A 0A 0A 0A ........

^^^^^^ ^^ ^^ ................^^ ^^^
offset hex content ascii equivalent

If the hex part doesn't correspond to a printable letter, it is
displayed as a dot, like in the example above.

Those are all newlines.

The "od" program compresses runs of identical characters. It might give
some interesting insight:

% od -c reallyBigReallyMessedUpFile |less


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >