On Mon, 2014-04-28 at 14:26 +0300, anatoly techtonik wrote:
> On Mon, Apr 28, 2014 at 10:52 AM, Russel Winder <[email protected]> wrote:
> >
> > Actually I think it may be fairly straightforward using find, grep and
> > emacs. Although there are quite a lot of octal constants I think it can
> > be done fairly quickly as a single changeset.
> 
> I am not sure how you would search for all numbers starting with 0 that
> are not part of strings with these tools.
> 
> \b0[1-9] ?

Given the code base, I suspect:

        \<0[0-7][0-7][0-7]\>

will catch a great deal of them, with some false positives due to
timezones in ISO 8601 date-times; at least a start.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to