On Tue, Jun 27, 2006 at 01:04:02PM +0100, Declan Moriarty wrote:
> On Tue, 2006-06-27 at 12:22 +0100, Proinnsias Breathnach wrote:
> > On Tue, Jun 27, 2006 at 11:58:49AM +0100, Declan Moriarty wrote:
> > > So I'm looking for the question marks in
> > >
> > > grep -o --binary-files=text -E '?????' index.dat |less
> > >
> > > and it is possible that the user (administrator here) could vary.
> > > --
> >
> > strings index.dat | grep http | less ?
> >
> > Maybe, just maybe ?
>> No, I was trying to avoid that. The lines can be 100s or characters
> long, and all the hex screws up the font on the terminal. Doing this
> with a visitor linux OS is worse, because the consoles are more
> sensitive to being mucked up than on an installed linux IME.
> --
That's the point of "strings" - a command that pulls the ASCII
intelligible strings from the file - and ignores non-printing characters
/ sequences. - follow with grep, and things should work reasonably well.
P
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!