08-29-2008
In the book.. i read... what does this mean?
AWK&SED oreilly book:
Quote:
Awk, in the usual case, interprets each input line as a record and each word on that line, delimited by
spaces or tabs, as a field. (These defaults can be changed.)
Before text AWK is said that programming language... in that context, what it be if defaults would be changed. What is the special meaning of record or field?
9 More Discussions You Might Find Interesting
1. Solaris
Hi everybody
I a new one
And I have just wanted to research on Sun Solaris
So can you help me what e-book to read ( and if can you give me the
direct address to load )
Thks so much (3 Replies)
Discussion started by: iwbasts
3 Replies
2. UNIX for Dummies Questions & Answers
OK Guys!
I need a top of the line unix system administration book for newbies! help!
thanks (1 Reply)
Discussion started by: disturbe_d
1 Replies
3. Shell Programming and Scripting
What would be a good starter's book for learning Korn shell scripting? (1 Reply)
Discussion started by: soupbone38
1 Replies
4. What is on Your Mind?
On the basic concepts of programming. I mean I am 100% self taught so I need a book to fix all my bad habits and misconceptions. I mean I want a solid book over the basics. Explains what an array is, a string, variable, stacks, and so forth.
I only know how to write code in shell,... (7 Replies)
Discussion started by: tlarkin
7 Replies
5. UNIX for Dummies Questions & Answers
hello
I am looking for book reference far Linux books that have information that is up to date.
Example:
Running Linux, O`Reilly, year 1995.
Or
Linux Administration, A beginners guide, 5`th ed, Mc Graw Hill Osbourn, year 2009.
Thank you (2 Replies)
Discussion started by: cowLips
2 Replies
6. Red Hat
Hi,
Can any one suggest me which book will be good for learning Linux server admin. I am new to it and trying for interview preparation.
Thanks (2 Replies)
Discussion started by: chetansingh23
2 Replies
7. Programming
hi,
i want some advice on
a programming book should every programmer read? (2 Replies)
Discussion started by: kaja
2 Replies
8. Programming
Hi all.
A course I am has Beginning C prescribed for our C++ work, but I am wondering, is this correct? Why not Beginning C++ by the same author? We code in C++ and learn C++, when starting a project in Code::Blocks we select C++.
I may just be confused.
Thanks for the help. (1 Reply)
Discussion started by: AnthonyWall56
1 Replies
9. What is on Your Mind?
Who has not read or listened to this book? For those who read Daemon, what did you think?
https://www.unix.com/members/1-albums221-picture889.jpg (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
dpkg-awk
DPKG-AWK(1) General Commands Manual DPKG-AWK(1)
NAME
dpkg-awk - Utility to read a dpkg style db file
SYNOPSIS
dpkg-awk [(-f|--file) filename] [(-d|--debug) ##] [(-s|--sort) list] [(-rs|--rec_sep) ??] '<fieldname>:<regex>' ... -- <out_fieldname> ..
DESCRIPTION
dpkg-awk Parses a dpkg status file (or other similarly formatted file) and outputs the resulting records. It can use regex on the field
values to limit the returned records, it can also be told which fields to output, and it can sort the matched fields.
OPTIONS
-f filename
--file filename
The file to parse. The default is /var/lib/dpkg/status.
-d [#]
--debug [#]
Each time this is specified, it increased the debug level.
-s field(s)
--sort field(s)
A space or comma separated list of fields to sort on.
-n field(s)
--numeric field(s)
A space or comma separated list of fields that should be interpreted as numeric in value.
-rs ??
--rec_sep ??
Output this string at the end of each output paragraph.
-h
--help Display some help.
fieldname
The fields from the file, that are matched with the regex given. The fieldnames are case insensitive.
out_fieldname
The fields from the file, that are output for each record. If the first field listed begins with ^, then the list of fields that
follows will NOT be output.
BUGS
Be warned that the author has only a shallow understanding of the dpkg packaging system, so there are probably tons of bugs in this pro-
gram.
This program comes with no warranties. If running this program causes fire and brimstone to rain down upon the earth, you will be on your
own.
This program accesses the dpkg database directly in places, querying for data that cannot be gotten via dpkg.
AUTHOR
Adam Heath <doogie@debian.org>
DEBIAN
Debian Utilities DPKG-AWK(1)