cm0002@toast.ooo to Programmer Humor@programming.dev · 4 days agonew workflow unlockedfeddit.orgimagemessage-square64linkfedilinkarrow-up1827arrow-down111file-text
arrow-up1816arrow-down1imagenew workflow unlockedfeddit.orgcm0002@toast.ooo to Programmer Humor@programming.dev · 4 days agomessage-square64linkfedilinkfile-text
minus-square[object Object]@lemmy.calinkfedilinkarrow-up7·4 days agoIs there a more modern version of sed that ignores based on gitignore?
minus-squarejxk@sh.itjust.workslinkfedilinkarrow-up10·4 days agofind … | grep -F -x -v -f .gitignore | xargs … (with some minor adjustments needed due to glob patterns in .gitignore)
minus-squarelindgrenj6@lemmy.sdf.orglinkfedilinkarrow-up5·3 days agogit grep -l usually does the trick for me, combined with xargs like the other poster.
Is there a more modern version of sed that ignores based on gitignore?
find … | grep -F -x -v -f .gitignore | xargs …
(with some minor adjustments needed due to glob patterns in .gitignore)
git grep -lusually does the trick for me, combined with xargs like the other poster.deleted by creator