1 / 11

Gawk in ALEPH

Gawk in ALEPH. Dror Berger - The National Library of Israel & IUCC (Inter-University Computation C entre). The problem that led us to gawk.

vidal
Télécharger la présentation

Gawk in ALEPH

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Gawk in ALEPH Dror Berger - The National Library of Israel & IUCC (Inter-University Computation Centre) Gawk in ALEPH - Dror Berger

  2. The problem that led us to gawk We need to write programmes that will extend and improve the current capabilities of the libraries’ software (In this case, ALEPH). Library staff usually has no programmers or computer science graduates, and on the other hand, the institutions computation centers do not have library oriented personal. Gawk in ALEPH - Dror Berger

  3. The problem that led us to gawk We needed a programming language that can be maintained and manipulated, via simple cut-and-paste procedures, by library staff that has no formal programming education. Gawk in ALEPH - Dror Berger

  4. What is gawk • Gawk is the GNU version of the commonly available UNIX awk program, a popular stream editor. • An open source programme with a large developers community. • Last version: 3.1.7 released on 23-Jul-2009 Gawk in ALEPH - Dror Berger

  5. Why gawk? • Programs in awk are different from programs in most other languages, because awk programs are "data-driven": you describe the data you want to work with and then what to do when you find it. Most other languages are "procedural." You have to describe, in great detail, every step the program is to take. When working with procedural languages, it is usually much harder to clearly describe the data your program will process. For this reason, awk programs are often refreshingly easy to read and write. Gawk in ALEPH - Dror Berger

  6. Why gawk? • Portable and standard (Exactly as Perl). • Gawk interpreter makes it very easy to debug, even with no formal programming skills. • Fast. Loads an array of 8 Million system numbers in less than 10 seconds. Gawk in ALEPH - Dror Berger

  7. Fields in awk Gawk in ALEPH - Dror Berger

  8. Fields in gawk - ALEPH Gawk in ALEPH - Dror Berger

  9. Fields in gawk - ALEPH Gawk in ALEPH - Dror Berger

  10. Higher level This is as difficult as it gets, and still much more readable than Perl or Java. Gawk in ALEPH - Dror Berger

  11. What else do we do with gawk? • Test and correct cataloguing records. • Test and correct information stored in sequential Z records, such as Z30, Z305 etc… • All text manipulation in programmes and services in our library environment. Gawk in ALEPH - Dror Berger

More Related