answersLogoWhite

0

What is awk in unix?

Updated: 8/11/2023
User Avatar

Wiki User

16y ago

Best Answer

AWK is a programming language developed in 1977 by Alfred Aho, Peter Weinberger, and Brian Kernighan. It is was developed as a text-processing language - it has simple syntax to match lines of patterns, separate out the fields, and operate on them.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

"awk" is the abbreviation for the word "awkward". It is used usually via texting or over the internet.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is awk in unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a awk script program in unix?

That is a difficult question to answer - the question is rather vague on what you intend to do. An awk script is a file containing awk commands that operate on 1 or more data files, based on selectors and actions resulting from that selector. It all depends on what you want to do with the data. The program itself is just a text file that can be created by any editor and then interpreted with the awk command.


What is the difference between sed and awk?

They both are frequently used programs in UNIX, but they do different things. Read their manuals if you want to use them.


What are the roots of the AWK programming language?

The AWK programming language is a Unix based programming language, and is sometimes considered as a pseudo-C interpreter. It is mainly used for sifting through and organizing large amounts of data at one time.


How do youdisplay the particular lines in unix with awk command?

In AWK, once you have a successful selector then the action could be to print the resulting line (if thats what you wish to do). For example, /a test/ { print ; } would match (and print) all lines containing "a test"


What is a filter in Unix?

A Unix filter is a command pattern that allows the output of one command to be "piped" into the input of the next command. Commands like 'ls' which list a directory are not filters since they only generate output. Filter examples are grep, sed, sort, uniq, awk. Commands in Unix are usually filters unless they only create output, like 'ls', 'vi', etc.


How do you use arrays in unix?

Unix itself does not use arrays. However, some shell scripting languages such as bash or ksh have simple rudimentary uses of a singly dimensioned array. If you want anything multi-dimensional or special use such as associative arrays, then you need a scripting language such as perl, or awk or python, etc.


What is a limitation on freedom of speech that you may be sued in court for?

cash money trillionares we rich we never going to stop we got money nigars awk awk awk


In what year did American Water Works - AWK - have its IPO?

American Water Works (AWK)had its IPO in 2008.


Where can you find information about the awk-web programming language?

Awk isn't really a web programming language. However, that's not to say you can't use it for that. The following link will take you to a good extensive reference for Awk programming: http://www.dc.turkuamk.fi/docs/gnu/awk/gawk_toc.html.


What is the difference between sed grep and awk?

The major difference between SED GREP and AWK is that SED allows you to find a pattern address. AWK only allows you to find a numeric address.


How do you read from file in unix shell script?

You will have to be more specific about what you intend to do. In general, a shell script by itself does not read file information and then do something with it. There may be calls to other scripting languages such as awk, perl, python, etc., that will actually read the information and process the data.


Why awk -f command is used?

The awk programming/scripting language is used to pattern match text and then do something with the result. Using the -f option indicates that the awk program/script has been stored in an external file instead of being specified inline with the command.