Re: asm grep



Frank Kotler <fbkotler@xxxxxxxxxxx> wrote in part:
I haven't fooled at all with that. What I've fooled with is
even more "obsessively small". We can address variables as
"[ebp +/- ???]" smaller than as static variables. (if ??? is
in signed byte range).

Yes, this is what x86 has been optimized for in spite of
its small register set. Access args & locals fast.

I modified what I had to utilize this... saved a bit of
size, and seems to have gained some speed (???).

The speed might be from instruction alignment wrt cacheline
breaks.

Printing filename (really need to do that) and/or offset, or
just count, shouldn't be a problem... Printing non-matching
lines is going to require major modification

Why? just default to printing the line & skip if match.
Not much different to default to noprint and print if match.

- does anyone > actually use that?

Yes. I use -v when I need to filter out false positives:

$ grep sshd /var/log/messages* | grep -v Accept ; gives failed sshd

I'm not familiar with "tr". You want to... strip the high bit
and then compare? Or strip the high bit from what we print?

strip, then compare. Strip before printing would also be nice,
but that probably takes tr..

I've had problems with binary files trashin'
my console... that might be a good one...

`reset` is your friend. Learn to type blind.


-- Robert

.



Relevant Pages

  • Re: Companys Coming
    ... They live near Foxwoods and Mohegan Sun and have taken me to them. ... strip, hopefully with a stop at the Bellagio and maybe get them into the ... people feel that nothing can compare to what they have in new england. ... should never mention the connecticut casinos and the strip in the same ...
    (alt.vacation.las-vegas)
  • Re: Legal Question - Responsibility & Interpretation of Returned (unprocessed) Check
    ... The check looked as if either printing had suddenly been ... probably during machine processing. ... Some bank attached another strip with the ... went through the automated system that way. ...
    (misc.legal)
  • Re: Gone With The Wind DVD Versions?
    ... 1939-40, and modern procedures, it is almost impossible to compare to ... but nobody ever asks about other Technicolor pictures of the same ... but the printing process couldn't reproduce it ... other film-makers of the release prints of Technicolor productions ...
    (rec.arts.movies.tech)
  • Re: Can one query full name (or version) of selected packages at pypi?
    ... and retrieve either the full name (from which to strip the ... and compare it with what I have on disk. ...
    (comp.lang.python)
  • Re: Companys Coming
    ... They live near Foxwoods and Mohegan Sun and have taken me to them. ... people feel that nothing can compare to what they have in new england. ... should never mention the connecticut casinos and the strip in the same ...
    (alt.vacation.las-vegas)