[ TAG ] : grep

[ TITLE    ] : Find et grep
[ CATEGORY ] : //
[ DATE     ] :

Pour faire une recherche dans des fichiers : # find /chemin -name "*" -exec grep -Hn "chaine_de_caractère" {} \; Il existe deux autres alternatives plus pratiques : ack https://beyondgrep.com/, codé en Perl. ag https://github.com/ggreer/the_silver_searcher codé en C. Documentationhttps://beyondgrep.com/https://github.com/ggreer/the_silver_searcher Remerciements maddingue Merci à maddingue !

t=i.width,r=i.height,d=!1,o=document.createElement("canvas"); o.width=t,o.height=r; var l=o.getContext("2d"); l.mozImageSmoothingEnabled=!1,l.webkitImageSmoothingEnabled=!1,l.imageSmoothingEnabled=!1; var u=t*n.value,c=r*n.value; l.drawImage(i,0,0,u,c),l.drawImage(o,0,0,u,c,0,0,o.width,o.height),i.style.display="none",e.insertBefore(o,i),!1!==n.revealonclick&&"false"!==n.revealonclick&&o.addEventListener("click",function(){(d=!d)?l.drawImage(i,0,0,t,r):(l.drawImage(i,0,0,u,c),l.drawImage(o,0,0,u,c,0,0,o.width,o.height))}),!1!==n.reveal&&"false"!==n.reveal&&(o.addEventListener("mouseenter",function(){d||l.drawImage(i,0,0,t,r)}),o.addEventListener("mouseleave",function(){d||(l.drawImage(i,0,0,u,c),l.drawImage(o,0,0,u,c,0,0,o.width,o.height))}))}; "function"==typeof t&&t.fn.extend({pixelate:function(){var e=arguments; return this.each(function(){a.apply(this,e)})}}),document.addEventListener("DOMContentLoaded",function(){for(var e=document.querySelectorAll("img[data-pixelate]"),t=0; t