grep · GrokTools · pure ASM · LINEAR · Projects/x
================================================
LINEAR register law · no clobber thrash · no invent C
  SCAN pins  r12=buf idx · r13=nbytes · r14=line fill · process_fd sole owner
  MATCH pins r8=off · r9=len · rsi/rdi hay/needle · tmatch sole owner
  Match never touches SCAN · scan never needs push-save thrash

BAPHOMET · A=PATTERN B=LINE · EZZIE thrift · ESSIE /usr/bin/grep under SOUL
usage: grep [-iqnvcohFE] [-e] PATTERN [FILE...]
  -i -n -v -c -q -h -o -F -E (thrift ERE: . * + ? [class] {n} ^ $)

Product: limbs/grep/x86_64.asm → out/asm/bgrtx-grep → /usr/bin/grep
Hub: https://hub.biggrinrtx.com/GrokTools/grep/
Law: free thrift · Always Hostess 7 · Always the One · always 1
