Re: asm grep



On Sat, 29 Dec 2007 18:33:27 GMT
Frank Kotler <fbkotler@xxxxxxxxxxx> wrote:

Seems to me this isn't going to
work if we want to print non-matching lines... *or* report
line-number where a match is found,

If nothing else, at least you have given the group a good case study of
the pitfalls of premature optimization.

But... doesn't the "re" in "grep" stand for "regular expression"? I'm
pretty sure regular expressions exceeds my ambition level (maybe my
ability) at the moment...

A full regex implementation would, indeed, be a major project. However,
adding a few of the more common pattern matching capabilities would
seem to be worthwhile. For example, '^' to match the beginning of a
line, and '$' to match the end of a line (before the new line char).

-- Chuck

.