[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lynx-dev
Subject:    Re: LYNX-DEV CHANGES 2.8.1dev.5
From:       lvirden () cas ! org (Larry W !  Virden, x2487)
Date:       1998-03-31 10:51:30
[Download RAW message or body]

Re: making global changes

If someone is going to take on the chore of renaming variables, check first
to see if your vendor was kind enough to make cscope available.  The cscope
program (comes on my Solaris machine as a part of Sun's unbundled C
compiler) was written at ATT as a part of one of their development environment
tools for System V.  It is a curses interface for a programmer to browser
source code.  Think of it as a visual ctags.  You run cscope on your source,
then tell it that you want to see all occurances of a variable.  Only
whole word matches show up.  You then select each line and are dropped
into your favorite editor to make the changes you want to make.  You can
also do a global change of all the variables.  Then, you can do a search
on the variable , treated as a string, to make sure there are no comments
in any of the source.  Unfortunately, references to the variable in man
pages, etc. still have to be performed by hand, but hopefully those will
be minimal.
-- 
Larry W. Virden                 INET: lvirden@cas.org
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic