hono4kami@piefed.social to Programming@programming.devEnglish · 2 days agoGreppability is an underrated code metricmorizbuesing.comexternal-linkmessage-square17fedilinkarrow-up1110arrow-down12
arrow-up1108arrow-down1external-linkGreppability is an underrated code metricmorizbuesing.comhono4kami@piefed.social to Programming@programming.devEnglish · 2 days agomessage-square17fedilink
minus-squarethingsiplay@beehaw.orglinkfedilinkarrow-up1·2 days agoFor code bases where this is a thing, you could use greps context lines: grep ---before-context 1 "^main"
For code bases where this is a thing, you could use greps context lines:
grep ---before-context 1 "^main"