home *** CD-ROM | disk | FTP | other *** search
- BGC - BIBL Global Change release 1.2
- =======================================================================
-
- [Please read this entire file before using the program]
-
- Several BIBL users have asked for a utility that would perform GLOBAL
- find & replaces across the database. Maybe they used some text in the
- note field and now want to change that text to something else in every
- record where the original text appears. BGC will do this for you.
-
- The functionality of the program is in many ways similar to the old
- Subject Global Change function that used was built into BIBL up
- through release 5.24, but there are some things you need to watch
- out for:
-
- 1. BGC requires that the case of the text you want to find (and
- eventuall replace) must match EXACTLY the text that appears
- in the record. If your record has COMPUTERS as the subject,
- and you enter Computers, it won't match and no replacement
- will be made.
-
- 2. Be advised that every occurrence of the text you seek in a given
- field will be changed wherever it appears. This can be a real
- nightmare if you elect to change a short word--one that also
- appears as part of a larger word in the same field. If you ask
- to change NETWORK to LAN and you also have the term NETWORKING
- in the same field, you'll end up with LANWORKING for
- NETWORKING!
-
- You are not limited to whole word changes (if the text you enter
- happens to match a few letters inside another word in that field,
- it will be changed. Again, think your change through before
- you begin.
-
- 3. It is possible that the length of your replacement term(s) will
- force the truncation of the field. For example, if your descriptor
- field is presently 60 characters and you change one 5 letter word
- to a 15 letter word, the field would now be 75 characters long...
- so the last 5 characters of your field after the 5 letter word
- becomes a 15 letter one will be chopped off.
-
- 4. There is no UNDO feature...that's why a back up of your database
- should be made before you begin a BGC session.
-
- 5. If you make *any* change to the author, title, subject, or
- descriptor fields during a BGC session, the program will automatically
- rebuild all the indexes used by BIBL (e.g., the entire BIBL5.IX file).
-
-
-
- 6. It is quite possible, particularly when editing the DESCRIPTOR field,
- to set off a sort of endless loop in finding/replacing. For example,
- if you have the following descriptor field in your database:
-
- Programming Software Turbo-Pascal PC Tutorial
-
- and you want to change the PC to IBM-PC, the following could happen:
-
- BGC changes PC to IBM-PC, then looks again at the field to see if there
- are any more occurrences. It 'sees' the PC that now follows IBM-PC and
- changes it. You now have IBM-IBM-PC. and so on until the field fills up.
-
- To avoid this, put a space before and after the PC you enter as the
- text to change. When BGC makes the first change, it will not find
- another _PC_ in the field. BE SURE TO ALSO PUT SPACES ON EITHER
- SIDE OF THE TEXT YOU ENTER AS THE REPLACEMENT! Otherwise, to continue
- with our original example, you'll end up with:
-
- Programming Software Turbo-PascalIBM-PCTutorial
-
- In short, BGC is powerful and obedient, but STUPID!
-
- How does it work?
-
- BGC first asks for the field you want to modify, then asks for the
- text to find and change. Next you'll be asked for the substitution
- text. You can, if desired, have the program first count the number
- of records that will be affected by the change. We recommend you accept
- this offer of counting, as it can help alert you to those times when
- ambiguity on your part might cause BGC to change more than you were
- expecting.
-
- We highly recommend that you first make a backup copy of your BIBL5.DAT
- and BIBL5.IX files before using BGC...this way, if you accidentally
- corrupt your database with an ill-advised change, you can go back to
- the way things were.
-
- Finally, DO NOT run BGC from the DOS shell within BIBL!
-
- BGC must be in the same sub-directory with BIBL5.DAT and BIBL5.IX to
- operate.
-
- =======================================================================
- GMUtant OnLine BBS :: 703-993-2219 9600 v.32 24 hours a day
-