Path: csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Sun, 12 Mar 2017 01:22:58 -0600 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: lambda functions in C References: <7557f1e3-ba5e-4aa9-b0bd-9073e58c7844@googlegroups.com> <8f5734c1-b95e-40ea-8cf3-c0c741b82d00@googlegroups.com> <362dae7c-352a-45e6-9823-53167c45a317@googlegroups.com> <383737e2-fcfc-47c1-acff-7f12fc234b46@googlegroups.com> <66cb9d2d-bae2-47db-a5e0-a2cbc167e871@googlegroups.com> Date: Sun, 12 Mar 2017 07:22:57 +0000 Message-ID: <878tobrmb2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:igVahiePhVH8RwE/IKIYDIKJwk0= MIME-Version: 1.0 Content-Type: text/plain Lines: 15 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-ZIhE/BQRMpfIJHXz/QjF1S8Ubco9TbYpXURHgz/aKAzWAGF6jAxxn20NIhdBYCddzenkNg2+XW1fUuG!1quHkJN2SJyKs/IydnXMzMxQt3HUcO7bTDRJO8/GrFSvgkBDP0DMMHrbOv4TMfBjaB12/t4= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2566 Xref: csiph.com comp.lang.c:105849 jameskuyper@verizon.net writes: >> Maybe I am spoiled by the debugger and there other methods of course. >> Grep is very useful and I fixed several problems last year using it. > > Oh yes, I make extensive use of grep. A command I've issued many times > this afternoon was: > > grep -l search_string `find . -name "*.cpp" -o -name "*.h"` A command so helpful the ability to run in simply is built into emacs. (M-x grep-find). FWIW, I find it useful in large projects regardless of language. I run it over the Linux source tree on a weekly basis in my day job, usually to find the type of of a function pointer in a structure.