Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Awk


Related Topics

In the News (Sun 27 May 12)

  
  Hartigan/Computer/AWK   (Site not responding. Last check: 2007-10-20)
Awk is an powerful command language that allows the user to manipulate files containing columns of data and strings.
Awk is extremely useful, both for general operation of Unix commands, and for data reduction (e.g.
Awk works best on files that have columns of numbers or strings that are separated by whitespace (tabs or spaces), though on most machines you can use the -F option if your columns are set apart by another character.
sparky.rice.edu /~hartigan/awk.html   (1043 words)

  
 Gawk - GNU Project - Free Software Foundation (FSF)   (Site not responding. Last check: 2007-10-20)
To write a program to do this in a language such as C or Pascal is a time-consuming inconvenience that may take many lines of code.
The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.
The source code for GNU awk is available from the GNU project's ftp server.
www.gnu.org /software/gawk/gawk.html   (217 words)

  
 [2.0] Awk Syntax   (Site not responding. Last check: 2007-10-20)
If the Awk program is written on the command line, it should be enclosed in single quotes ('{pgm}') instead of double quotes ("{pgm}") to prevent the shell from interpreting characters within the program as special shell characters.
The fact that variables aren't declared in awk can also lead to some odd bugs, for example by misspelling the name of a variable and not realizing that this has created a second, different variable that is out of the loop in the rest of the program.
Awk will follow its own rules in this issue and so it is important for the programmer to remember it and avoid possible traps.
www.vectorsite.net /tsawk2.html   (4582 words)

  
 UNIX man pages : awk ()
However, their use is likely to break old AWK programs, so gawk only provides them if they are requested with this option, or when --posix is specified.
AWK variables are dynamic; they come into existence when they are first used.
AWK also has one dimensional arrays; arrays with multiple dimensions may be simulated.
unixhelp.ed.ac.uk /CGI/man-cgi?awk   (9512 words)

  
 UNIX Basics : Examples with awk: A short introduction
Awk is, roughly speaking, a language oriented to manage tables.
I've used awk for many other tasks (automatic generation of web pages with information from simple databases) and I know enough about awk programming to be sure that a lot of things can be done.
AWK is very appropriate for the purposes for which it was build: Read data line by line and act upon the strings and patterns in the lines.
www.linuxfocus.org /English/September1999/article103.html   (1752 words)

  
 comp.lang.awk FAQ   (Site not responding. Last check: 2007-10-20)
8.0 meta-answer 8.1 the one true awk 8.2 gawk 8.2.1 gawk precompiled for MS-DOS or OS/2 8.2.2 gawk precompiled for Macintosh 8.2.3 gawk precompiled for Risc OS on Acorn 8.2.4 jgawk (Japanese gawk) 8.2.5 gawk.dll 8.3 mawk 8.4 awk2c 8.5 awka 8.6 awk in scheme 8.98 various old binary-only distributions for MSDOS 8.99 awkcc 9.
a valid question, since awk is a subset of perl (functionally, not necessarily syntactically); also, the authors of perl have usually known awk (and sed, and C, and a host of other Unix tools) very well, and still decided to move on.
Long chapter about awk, which follows chapters about grep and sed, gives good advice on general expressions and how awk is used in practice.
www.faqs.org /faqs/computer-lang/awk/faq   (4144 words)

  
 The awk programming language
awk is a programming language that gets its name from the 3 people who invented it (Aho, Weinberger, and Kernighan).
awk is distributed as free software, meaning that you don't have to pay anything for it and you can get the source code to build awk yourself
awk excels at handling text and data files, the kind that are created in Notepad or (for example) HTML files.
www.student.northpark.edu /pemente/awk.htm   (819 words)

  
 FREC 682 Spatial Analysis -- AWK Filters
AWK is a Unix programming language named for its developers (Aho, Weinberger and Kernighan).
AWK is very flexible about matching character or numeric patterns.
AWK on the Linux servers is actually gawk (the Gnu Project's version of AWK).
www.udel.edu /johnmack/frec682/682awk.html   (685 words)

  
 AN INTRODUCTION TO AWK
awk is a programming language designed to search for, match patterns, and perform actions on files.
awk scans input lines one after the other, searching each line to see if it matches a set of patterns or conditions specified in the awk program.
awks output generated by print and printf can be redirected to a file by using the redirection symbols > (create/write) and > > (append).
allman.rhon.itam.mx /dcomp/awk.html   (5473 words)

  
 The GNU Awk User's Guide   (Site not responding. Last check: 2007-10-20)
AWK's simple programming paradigm--find a pattern in the input and then perform an action--often reduced complex or tedious data manipulations to few lines of code.
It is a definitive reference to the AWK language as defined by the 1987 Bell Labs release and codified in the 1992 POSIX Utilities standard.
The programs in this book make clear that an AWK program is typically much smaller and faster to develop than a counterpart written in C. Consequently, there is often a payoff to prototype an algorithm or design in AWK to get it running quickly and expose problems early.
www.delorie.com /gnu/docs/gawk/gawk_1.html   (590 words)

  
 AWK
In reality AWK much better integrates with Unix shell and until probably in 2004 there is not noticeable difference in speed due to the additional time to load and initialize huge Perl interpreter (but Perl 5 still grows and soon might be too fat even for the typical PC or server).
AWK has a unique blend of simplicity and power that is especially attractive for novices, who do not have to spend days and weeks learning all those intricacies of Perl before they become productive.
Awk is a programming language whose basic operation is to search a set of files for patterns, and to perform specified actions upon lines or fields of lines which contain instances of those patterns.
www.softpanorama.org /Tools/awk.shtml   (6459 words)

  
 Awk
Awk parses and operates on each separate field.
This makes awk ideal for handling structured text files -- especially tables -- data organized into consistent chunks, such as rows and columns.
Awk handles variables similarly to shell scripts, though a bit more flexibly.
www.tldp.org /LDP/abs/html/awk.html   (397 words)

  
 AWK: Linux Administrator's Wisdom Kit   (Site not responding. Last check: 2007-10-20)
The AWK utility, with its own self-contained language, is one of the most powerful data processing engines in existence — not only in Linux, but anywhere.
When first created, AWK was designed to work in the text-processing arena, and the language is based on executing a series of instructions whenever a pattern is matched in the input data.
The AWK tool can read its input from a file, as was done in all examples up to this point, or it can take input from the output of another command.
www.oracle.com /technology/pub/articles/dulaney_awk.html   (3446 words)

  
 Awk - A Tutorial and Introduction - by Bruce Barnett
AWK is an excellent tool for processing these rows and columns, and is easier to use AWK than most conventional programming languages.
AWK also has associative arrays, which are incredible useful, and is a feature most computing languages lack.
AWK allows you to redefine the field separator either before or after you read the line, and does the right thing each time.
www.grymoire.com /Unix/Awk.html   (12410 words)

  
 awk
The awk utility interprets each input record as a sequence of fields where, by default, a field is a string of non-blank characters.
Because awk arrays are really one dimensional, such a comma-separated list will be converted to a single string by concatenating the string values of the separate expressions, each separated from the other by the value of the SUBSEP variable.
The awk program specified in the command line is most easily specified within single-quotes (for example, 'program') for applications using sh, because awk programs commonly contain characters that are special to the shell, including double-quotes.
www.opengroup.org /onlinepubs/007908799/xcu/awk.html   (8635 words)

  
 Getting Started with awk
awk variables are initialized to either zero or the empty string the first time they are used.
In many ways, awk is like C. The "for", "while", "do-while", and "if" constructs all exist.
It seems twisted*, but awk can be used to generate C code that one doesn't want to type by hand.
www.cs.hmc.edu /tech_docs/qref/awk.html   (2132 words)

  
 UNIX Utilities - awk
An awk program consists of one or more awk commands separated by either \n or semicolons.
Each awk command consists of a selector and/or an action; both may not be omitted in the same command.
$1 inside the awk script is not $1 of the shell script; use variable assignment on the command line to move data from the shell to the awk script,
www.uga.edu /~ucns/wsg/unix/awk   (2306 words)

  
 The AWK Programming Language   (Site not responding. Last check: 2007-10-20)
Source for the one true awk, updated April 24, 2005.
Examples from The AWK Programming Language by Aho, Kernighan, and Weinberger as text (120Kb) or zipped (30Kb).
AWK is also available from GNU (GAWK); MKS as part of the MKS Toolkit; Thompson Automation Software (TAWK).
cm.bell-labs.com /cm/cs/awkbook   (166 words)

  
 Hanoi: AWK
Brian Kernighan (the 'K' in AWK) has various interesting tidbits about AWK on his home page.
He is also the author of the popular book The AWK Programming Language.
Details of the GNU implementation of AWK (gawk) can be found on the gawk home page.
www.kernelthread.com /hanoi/html/awk.html   (79 words)

  
 Amazon.com: Books: The AWK Programming Language   (Site not responding. Last check: 2007-10-20)
If you refuse to use perl, which incorporated most of awk, or have to maintain old awk scripts then this is the text.
For some tasks awk is the premier solution, for others, use awk as part of the solution along with perl and a shell script.
I second the feeling here, this awk book is the most concise, clear and useful scripting book on unix period with the exception of perl.
www.amazon.com /exec/obidos/tg/detail/-/020107981X?v=glance   (1129 words)

  
 Gavin Wraith's HomePage: index   (Site not responding. Last check: 2007-10-20)
Awk for RISC OS Whether or not you consider yourself a programmer, the very fact that you use Risc OS suggests that you are probably an active user of your computer, and hence that you are likely to find Awk a useful tool.
The original version of Awk was created in 1977 at AT&T Bell Laboratories, as a tool for extracting information from text.
Mawk v.1.3.3 is a fast version of awk released by Mike Brennan under the GPL.
www.wra1th.plus.com /awk   (241 words)

  
 awk -- data transformation, report generation language   (Site not responding. Last check: 2007-10-20)
If you are unfamiliar with the language, you may find it helpful to read the online AWK Tutorial before reading the following material.
See Table 2, awk Order of Operations for the precedence rules of the operators.
This version is a superset of New AWK as described in The AWK Programming Language by Aho, Weinberger, and Kernighan.
www.datafocus.com /docs/man1/awk.1.asp   (3470 words)

  
 AWK manual   (Site not responding. Last check: 2007-10-20)
This is the location for the AWK manual.
Awk manual in PDF format (US letter size)
Awk manual in Postscript format (US letter size)
www.cs.uu.nl /~piet/docs/nawk   (68 words)

  
 Debian -- mawk   (Site not responding. Last check: 2007-10-20)
Mawk is an interpreter for the AWK Programming Language.
The AWK language is useful for manipulation of data files, text retrieval and processing, and for prototyping and experimenting with algorithms.
Mawk is a new awk meaning it implements the AWK language as defined in Aho, Kernighan and Weinberger, The AWK Programming Language, Addison-Wesley Publishing, 1988.
packages.debian.org /stable/base/mawk.html   (188 words)

  
 An Awk Tutorial   (Site not responding. Last check: 2007-10-20)
* The Awk text-processing programming language is a useful and simple tool for manipulating text.
This document provides a quick overview of Awk.
The Awk syntax used in this document corresponds to that used on UN*X. It may vary slightly on other platforms.
www.vectorsite.net /tsawk.html   (74 words)

  
 oreilly.com -- Online Catalog: sed & awk, Second Edition
Register your book to get email notification of new editions, special offers, and more.
sed & awk describes two text manipulation programs that are mainstays of the UNIX programmer's toolbox.
This edition covers the sed and awk programs as they are mandated by the POSIX standard and includes discussion of the GNU versions of these programs.
www.oreilly.com /catalog/sed2   (115 words)

  
 Phils AWK programming guide   (Site not responding. Last check: 2007-10-20)
This is an introduction to AWK that focuses on showing you the most useful features of AWK.
The first one is not a truely robust program, but it does the basic job pretty durn well.
You can also look at The USENET AWK FAQ, for gorey details, and answers about the history and distribution of AWK.
www.bolthole.com /AWK.html   (104 words)

  
 Brian Kernighan
Extracting Geometric Information from Architectural Drawings, with Chris Van Wyk, from the Workshop on Applications of Computational Geometry, Philadelphia, May, 1996.
Timing Trials, or, the Trials of Timing: Experiments with Scripting and User-Interface Languages, with Chris Van Wyk, describes experiments to see how fast various scripting and user interface languages, from Awk to Visual Basic, run on a spectrum of representative tasks.
"An AWK to C++ Translator" (Postscript) describing an early experiment; published in the Usenix C++ conference in 1991 but hard to find.
cm.bell-labs.com /who/bwk   (375 words)

  
 Unix for Linguists: Filter Languages
For instance, one can perform text analysis on Usenet posts using awk.
It can do anything that sed can, but sed is faster and simpler for what it does.
('Gnu awk'), part of the Gnu operating system from Free Software Foundation.
www-personal.umich.edu /~jlawler/routledge/sedawkperl.html   (275 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.