Michael Lazin on 30 Jul 2015 09:27:22 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] xargs guide |
It looks like i made a typo too, it should be '*.php' On July 30, 2015 12:10:22 PM EDT, Jonathan Simpson <jonathan@jdsnetwork.com> wrote: >This is good stuff, thanks! >I use xargs pretty heavily but it's nice to see some other use cases. > >On Thu, Jul 30, 2015 at 11:43 AM, <bergman@merctech.com> wrote: >> In the message dated: Thu, 30 Jul 2015 00:28:51 -0400, >> The pithy ruminations from Michael Lazin on >> <Re: [PLUG] xargs guide> were: >> => I also use xargs, for example, to find a malware string in php >code, like >> => "find . -name '*,php' | xargs grep 'malware url on google malware >report' | cut -d: -f1" >> >> Ick. >> >> With a suitably modern version of grep: >> >> grep -rl --include="*,php" 'malware url on google malware >report' /path/to/dirs/with/php_files >> >> Mark >> >> >___________________________________________________________________________ >> Philadelphia Linux Users Group -- >http://www.phillylinux.org >> Announcements - >http://lists.phillylinux.org/mailman/listinfo/plug-announce >> General Discussion -- >http://lists.phillylinux.org/mailman/listinfo/plug >___________________________________________________________________________ >Philadelphia Linux Users Group -- >http://www.phillylinux.org >Announcements - >http://lists.phillylinux.org/mailman/listinfo/plug-announce >General Discussion -- >http://lists.phillylinux.org/mailman/listinfo/plug -- Michael Lazin "Panta rei" -Heraclitus -----BEGIN PGP PUBLIC KEY BLOCK----- Version: APG v1.1.1 mQENBFNtrOcBCAC5UFiDwsqx23fmbHoVbKOygdSI6f2tKZ4oc8kEYAsrf5y50zUw 5AaLHc4FmwfcTi/8aKgudyF/KBTRF9aBSLcvSalKc34kjkpGOvk639MhH1sfnXxd rPWColQHgfdu97WcccyNTXyQBvfqHkC2kn5ZpKaGGr7l5z2NMXXD6P80dlnhlmBw LmFg5BNGxpgIcNwSdFSlKNnMRICBUcff0wAISk9UiwTJvWJPNiGGfAub3UdRlRID SeGlg/wELQ6ZYcFNsDdS6HktvqAbspyAEiXOMaemCNbOh/aPw6m6J6ooqD7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GpYFjvGnMgD7g99aigjtqnF lYN0PPnvZehh8hea3izCo0ancyCCNz7YMbKG4qnPDZOde3zmcpnRo1FlWbD2rmsd t2ZjhJ8WKEUgRqfan3RjQVII939vrcY3BmTpd9CT/6WaDT5sdshKc7rKX9JAwn/V wdiRFxnSv1gcuDKpoLCXPwfdpIjr4QMR6pzw+woLP/DnUT7WDZde9weC90HVOZ3d i0bzAQupJ7WLj7FbYbypB/0RsCdeSgv8IXbD8Ven84vEc8n4IB21VlPHnowUisL6 44ZLYarMusSR0XMrpBu67u7vFFO2JQnmZCsV27THDMQhN6lWyYGiRTxL949rykMv FmoF4l2Vml5lP0a8SkC0ZIYyRkzRoRhFVDXViZVo9TOW8OO5Z6CK6Gy0rICrg81X F0A8kw+mgXpyQWIB2xSp5GyZmOHGlS5AbOoJnL1kzVlNmzhjI1suHzC74ejbl6Ou bJzPZZc4Mw5eWdsgXgkXFrU6FhHBiVrdfm1kbeVh/tGmhIKgxT5wQMxAQ02Inw3T z2y7ivs6mJyxjtex8tQfk9l1VYj97iO3BkYElWduM9di =QW6K -----END PGP PUBLIC KEY BLOCK----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug