cm0002@toast.ooo to Programmer Humor@programming.dev · 1 day agonew workflow unlockedfeddit.orgimagemessage-square54linkfedilinkarrow-up1742arrow-down111file-text
arrow-up1731arrow-down1imagenew workflow unlockedfeddit.orgcm0002@toast.ooo to Programmer Humor@programming.dev · 1 day agomessage-square54linkfedilinkfile-text
minus-square[object Object]@lemmy.calinkfedilinkarrow-up6·19 hours agoIs there a more modern version of sed that ignores based on gitignore?
minus-squarelindgrenj6@lemmy.sdf.orglinkfedilinkarrow-up3·9 hours agogit grep -l usually does the trick for me, combined with xargs like the other poster.
minus-squarejxk@sh.itjust.workslinkfedilinkarrow-up8·18 hours agofind … | grep -F -x -v -f .gitignore | xargs … (with some minor adjustments needed due to glob patterns in .gitignore)
Is there a more modern version of sed that ignores based on gitignore?
git grep -lusually does the trick for me, combined with xargs like the other poster.find … | grep -F -x -v -f .gitignore | xargs …
(with some minor adjustments needed due to glob patterns in .gitignore)
deleted by creator