Hacker GitHub

← All repos

MoserMichael/rzgrep

View on GitHub ↗ ★ 8 Go

grep utility that searches through zip,jar,ear,tgz,bz2 in any form of nesting; it can also decompile class files

3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2022-04-12 · latest 2022-04-13

Mentions per year 3 mentions · busiest year 2022 (3)
20082026
  1. …and an error. If you use go, that’s what you do, though. I see that that was changed already ( https://github.com/MoserMichael/rzgrep/commit/764b9ad61a5dbe... ) I think I would not return “ctx.data[0]” for the value returned in case of…
    comment by Someone · 2022-04-13 · in When to use generics
  2. …succeeded. func (ctx *CBuf[T]) Pop() (T, bool) { I fixed the class, so now it looks as follows: https://github.com/MoserMichael/rzgrep/blob/master/src/cbuf/... Thanks! Still, I am feeling a bit uncomfy with returning a garbage value with…
    comment by MichaelMoser123 · 2022-04-13 · in When to use generics
  3. …[2] i needed a circular buffer to keep the last n lines for displaying the context of a match. [1] https://github.com/MoserMichael/rzgrep/blob/master/src/cbuf/... [2] https://github.com/MoserMichael/rzgrep
    comment by MichaelMoser123 · 2022-04-12 · in When to use generics