Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] How to copy text from hex editor
Date: Sun, 28 Nov 2010 10:44:08
Message-Id: 201011281041.26492.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] [OT] How to copy text from hex editor by meino.cramer@gmx.de
1 On Sunday 28 November 2010 09:44:16 meino.cramer@×××.de wrote:
2 > Mick <michaelkintzios@×××××.com> [10-11-28 10:32]:
3 > > This may be simple, but I don't know how to do it:
4 > >
5 > > I have opened a file I captured with tcpflow using hexdump and also tried
6 > > okteta. With either applications I can select the plain text, but
7 > > corresponding hexadecimal characters are also selected at the same time.
8 > >
9 > > Is there a way of copying and pasting the plain text portion of the file
10 > > content only, or are there some clever incantations that hexdump will
11 > > take to only show the plain text portion of the file?
12 >
13 > Hi Mick,
14 >
15 > suppose you have a file containing everything of the capture....
16 >
17 > You can cut off everything you dont want with the tool "cut" (-> man
18 > cut) or the parts you want.
19 >
20 > Another way is to read everything with the ascii editor "vim" and
21 > use the visual mode for what cut was used in the previous example.
22 >
23 > Sorry for not giving examples...I dont know the exact format of the
24 > capture you are talking about...
25
26 Doh! It seems that rview and less show just the text! I don't know why I
27 didn't try them first. LOL!
28
29 > Have a nice sunday!
30
31 You too, thanks!
32 --
33 Regards,
34 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature