Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
The AWK Programming Language

Buy
The AWK Programming Language, 9780201079814 (020107981X), Addison Wesley, 1988

Computer users spend a lot of time doing simple, mechanical data manipulation - changing the format of data, checking its validity, finding items with some property, adding up numbers, printing reports, and the like. All of these jobs ought to be mechanized, but it's a real nuisance to have to write a specialpurpose program in a standard language like C or Pascal each time such a task comes up.

Awk is a programming language that makes it possible to handle such tasks with very short programs, often only one or two lines long. An awk program is a sequence of patterns and actions that tell what to look for in the input data and what to do when it's found. Awk searches a set of files for lines matched by any of the patterns; when a matching line is found, the corresponding action is performed. A pattern can select lines by combinations of regular expressions and comparison operations on strings, numbers, fields, variables, and array elements. Actions may perform arbitrary processing on selected lines; the action language looks like C but there are no declarations, and strings and numbers are built-in data types.

Awk scans the input files and splits each input line into fields automatically. Because so many things are automatic - input, field splitting, storage management, initialization - awk programs are usually much smaller than they would be in a more conventional language. Thus one common use of awk is for the kind of data manipulation suggested above. Programs, a line or two long, are composed at the keyboard, run once, then discarded. In effect, awk is a general-purpose programmable tool that can reprace a host of specialized tools or programs.

The same brevity of expression and convenience of operations make awk valuable for prototyping larger programs. One starts with a few lines, then refines the program until it does the desired job, experimenting with designs by trying alternatives quickly. Since programs are short, it's easy to get started, and easy to start over when experience suggests a different direction. And it's straightforward to translate an awk program into another language once the design is right.

(HTML tags aren't allowed.)

Introduction to the Mechanics of Space Robots (Space Technology Library)
Introduction to the Mechanics of Space Robots (Space Technology Library)

Based on lecture notes on a space robotics course, this book offers a pedagogical introduction to the mechanics of space robots. After presenting an overview of the environments and conditions space robots have to work in, the author discusses a variety of manipulatory devices robots may use to perform their tasks. This is followed by a...

HVAC Water Chillers and Cooling Towers: Fundamentals, Application, and Operation (Mechanical Engineering)
HVAC Water Chillers and Cooling Towers: Fundamentals, Application, and Operation (Mechanical Engineering)
HVAC Water Chillers and Cooling Towers provides fundamental principles and practical techniques for the design, application, purchase, operation, and maintenance of water chillers and cooling towers. Written by a leading expert in the field, the book analyzes topics such as piping, water treatment, noise control, electrical service, and energy...
Mobile User Experience: Patterns to Make Sense of it All
Mobile User Experience: Patterns to Make Sense of it All

This is your must-have resource to the theoretical and practical concepts of mobile UX. You’ll learn about the concepts and how to apply them in real-world scenarios. Throughout the book, the author provides you with 10 of the most commonly used archetypes in the UX arena to help illustrate what mobile UX is and how you can master it as...


Advances in Evolutionary Algorithms: Theory, Design and Practice
Advances in Evolutionary Algorithms: Theory, Design and Practice
The goal of this book is to develop efficient optimization algorithms to solve diverse real-world problems of graded difficulty. Genetic and evolutionary mechanisms have been deployed for reaching the goal.

This book has made five significant contributions in the realm of genetic and evolutionary computation (GEC).

Practical
...
Frommer's Moscow and St. Petersburg (Frommer's Complete)
Frommer's Moscow and St. Petersburg (Frommer's Complete)

Russia breathes superlatives: the world’s biggest country; its largest supplier of natural gas and second-largest oil producer; home of the planet’s longest railroads, busiest subway system (Moscow’s), and one of its deepest, biggest, and oldest lakes (Baikal, in Siberia). It even boasts balmy beach resorts (on the Black...

The The Human Heart: A Basic Guide to Heart Disease
The The Human Heart: A Basic Guide to Heart Disease
This book began as a handbook for cardiac patients. It's now been used by coronary-intensive-care nurses, paramedics, emergency-room personnel, family practitioners, hospitalists, pharamaceutical companies, and others.
It can't be that simple!
...
©2020 LearnIT (support@pdfchm.net) - Privacy Policy