Re: [opensuse] search for word in huge txt file
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2007-12-25 a las 13:51 -0600, Afan Pasalic escribió: [ You forgot to post to the list ]
It is console program: mc
"File is too large: Inbox" :(
Impossible!
I just opened a 4.7GB file to try (a DVD image). No problem!
Did you try "view" (F3) or "edit" (F4)? Use "view". I did Edit. Now I tried with "view" and got full screen of dots - and nothing else?!?
Ok, try "hex mode", F4 inside "view". You will get something like this:
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. It is not a good sign for a mailbox... must be broken, or it is not in tuhnderbird mail box format. Some binary format, like one of those used by outlook... - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcWExtTMYHG2NR9URAg92AJ461aEqN+A2m0JRQfizWb3w+DhUQACcDIuh jA6XmzSMVd65Q02EmOXNE+Q= =BnGZ -----END PGP SIGNATURE-----
Oops! Sorry. Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
El 2007-12-25 a las 13:51 -0600, Afan Pasalic escribió:
[ You forgot to post to the list ]
It is console program: mc
"File is too large: Inbox" :(
Impossible!
I just opened a 4.7GB file to try (a DVD image). No problem!
Did you try "view" (F3) or "edit" (F4)? Use "view". I did Edit. Now I tried with "view" and got full screen of dots - and nothing else?!?
Ok, try "hex mode", F4 inside "view". You will get something like this:
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.
It is not a good sign for a mailbox... must be broken, or it is not in tuhnderbird mail box format. Some binary format, like one of those used by outlook...
- -- Saludos Carlos E.R.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHcWExtTMYHG2NR9URAg92AJ461aEqN+A2m0JRQfizWb3w+DhUQACcDIuh jA6XmzSMVd65Q02EmOXNE+Q= =BnGZ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-12-25 at 14:02 -0600, Afan Pasalic wrote:
Oops! Sorry.
No problem - but did you do what I wrote down below? I don't top post, you know ;-)
Now I tried with "view" and got full screen of dots - and nothing else?!?
Ok, try "hex mode", F4 inside "view". You will get something like this:
^^^ - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHcWMJtTMYHG2NR9URAi1IAJ4ku7mSDod642x0I1ghwBxk1y6eRACgmR8Q /kL9bBMeP9RP5oOoMcNdFsg= =oSor -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Afan Pasalic
-
Carlos E. R.
-
Randall R Schulz