cm0002@toast.ooo to Programmer Humor@programming.dev · 3 days agonew workflow unlockedfeddit.orgimagemessage-square64linkfedilinkarrow-up1807arrow-down111file-text
arrow-up1796arrow-down1imagenew workflow unlockedfeddit.orgcm0002@toast.ooo to Programmer Humor@programming.dev · 3 days agomessage-square64linkfedilinkfile-text
minus-square[object Object]@lemmy.calinkfedilinkarrow-up7·2 days agoIs there a more modern version of sed that ignores based on gitignore?
minus-squarelindgrenj6@lemmy.sdf.orglinkfedilinkarrow-up5·2 days agogit grep -l usually does the trick for me, combined with xargs like the other poster.
minus-squarejxk@sh.itjust.workslinkfedilinkarrow-up10·2 days 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