Post AMOIWk87cV5XembcJs by muio@social.sakamoto.gq
 (DIR) More posts by muio@social.sakamoto.gq
 (DIR) Post #AJOx4rhC05OvUVxuhU by hazlin@poa.st
       2022-05-13T06:47:44.486756Z
       
       4 likes, 4 repeats
       
       A few days ago someone recommended replacing grep with ag, and it has been great. Digging through someone else code base for synchronizing factorio mods has been my use case.Need to update an item with a stack size of 100?ag crystal -A 2 -B 2 | ag "stack_size = 100" -A 2 -B 2No problem, it is at this location on this line:prototypes/fusion/fu_materials.lua:17-
       
 (DIR) Post #AMOBI4gKEBTlNEf8We by mikuphile@gearlandia.haus
       2022-08-10T15:28:35.083908Z
       
       0 likes, 0 repeats
       
       @hazlin BTW if you do -C2 it has the effect of -A2 -B2.
       
 (DIR) Post #AMOIWk87cV5XembcJs by muio@social.sakamoto.gq
       2022-08-10T16:49:38.744046Z
       
       0 likes, 0 repeats
       
       @hazlin link to ag program pls?
       
 (DIR) Post #AMOJUFdu6HRyTcqaWG by hazlin@poa.st
       2022-08-10T17:00:25.900580Z
       
       1 likes, 0 repeats
       
       @muio I think this is the repo, but I've always installed it through my distributions packages manager.github.com/ggreer/the_silver_searcher