-
Contributing Member
Data Retrieval in UNIX
Suppose I have data in columns and rows say m rows and n columns. My requirement is to retrieve all values from the second column which is greater than 20. How can I do this in UNIX?
-
Contributing Member
Re: Data Retrieval in UNIX
There are many ways to achieve the above result. One of the ways of doing this is to use the command awk in UNIX.
-
Expert Member
Re: Data Retrieval in UNIX
1.Awk in Unix is used for processing the rows and columns in a file. Awk has built in string functions and associative arrays. Awk supports most of the operators, conditional blocks, and loops available in C language.
2.Gawk is the GNU version of awk that is used on most Linux distributions. Gawk has all the capabilities of awk
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules