POV-Ray : Newsgroups : povray.off-topic : Context switching : Re: Context switching Server Time
4 Sep 2024 17:17:59 EDT (-0400)
  Re: Context switching  
From: Warp
Date: 24 Apr 2010 01:48:36
Message: <4bd28634@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> wrote:
> >     fgrep '#include "header.hh"' *.cc

> There could be more spaces.

> grep '#include[[:space:]]\+"header.hh"' *.cc

  Well, since it's not possible to have two #-commands in the same line,
and having anything else between the #include and the file name is unlikely,
you could just as well do it line:

    grep '#include.*"header.hh"' *.cc

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.