effective_awk.pdf
(
4579 KB
)
Pobierz
on
iti
ual
Ed
an
h
M
4t
G N U
A
awk
Programming
UNIVERSAL TEXT PROCESSING AND PATTERN MATCHING
Effective
Arnold Robbins
Effective awk Programming
When processing text files, the
awk
language is ideal for handling data
extraction, reporting, and data-reformatting jobs. This practical guide
serves as both a reference and tutorial for POSIX-standard
awk
and for the
GNU implementation, called
gawk.
This book is useful for novices and
awk
experts alike.
In this thoroughly revised edition, author and
gawk
lead developer Arnold
Robbins describes the
awk
language and
gawk
program in detail, shows you
how to use
awk
and
gawk
for problem solving, and then dives into specific
features of
gawk.
System administrators, programmers, webmasters, and
other power users will find everything they need to know about
awk
and
gawk.
You will learn how to:
■
■
■
■
■
“
Arnoldhasdistilledover
twoandahalfdecadesof
experiencewritingand
usingawkprograms,and
developinggawk,intothis
book.Ifyouuseawkor
wanttolearnhow,then
readthisbook.
—Michael Brennan
author of
mawk
”
Format text and use regular expressions in
awk
and
gawk
Process data using
awk's
operators and built-in functions
Manage data relationships using associative arrays
Define your own functions
“Think in
awk”
with two full chapters of sample functions and
programs
Take advantage of
gawk's
many advanced features
Debug
awk
programs with the
gawk
built-in debugger
■
■
This book is published under the terms of the GNU Free Documentation
License.
You have the freedom to copy and modify this GNU manual.
Royalties from the sales of this book go to the Free Software Foundation
and to the author.
Arnold Robbins,
a professional programmer and technical author, has worked with
Unix systems since 1980 and has used
awk
since 1987. Arnold is the maintainer of
gawk
and its documentation. As a member of the POSIX 1003.2 balloting group, he
helped shape the POSIX standard for
awk.
TEX T PROCESSING
Twitter: @oreillymedia
facebook.com/oreilly
CAN $51.99
US $44.99
ISBN: 978-1-491-90461-9
FOURTH EDITION
Effective awk Programming
Arnold Robbins
Effective awk Programming, Fourth Edition
by Arnold Robbins
Copyright © 1989, 1991, 1992, 1993, 1996–2005, 2007, 2009–2015 Free Software Foundation, Inc. All rights
reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Phone: (617)
542-5942, Fax: (617) 542-2652, Email:
gnu@gnu.org,
URL:
http://www.gnu.org
Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free
Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with
the Invariant Sections being “GNU General Public License”, with the Front-Cover Texts being “A GNU
Manual”, and with the Back-Cover Texts as in (a) below. A copy of the license may be found on the Internet
at the GNU Project’s web site:
http://www.gnu.org/software/gawk/manual/html_node/GNU-Free-
Documentation-License.html.
a. The FSF’s Back-Cover Text is: “You have the freedom to copy and modify this GNU manual.”
The GNU Free Documentation License does not apply to or include the O’Reilly Media, Inc. trademarks or
trade dress.
Editors:
Andy Oram and Heather Scherer
Production Editor:
Colleen Lobner
Copyeditor:
Jasmine Kwityn
Proofreader:
Rachel Head
March 2015:
Fourth Edition
Indexer:
Ellen Troutman-Zaig
Cover Designer:
Ellie Volckhausen
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
Revision History for the Fourth Edition:
2015-02-27:
First release
See
http://oreilly.com/catalog/errata.csp?isbn=9781491904619
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. The cover image and related trade dress
are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark
claim, the designations have been printed in caps or initial caps.
While the publisher and the author have used good faith efforts to ensure that the information and instruc‐
tions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors
or omissions, including without limitation responsibility for damages resulting from the use of or reliance
on this work. Use of the information and instructions contained in this work is at your own risk. If any code
samples or other technology this work contains or describes is subject to open source licenses or the intel‐
lectual property rights of others, it is your responsibility to ensure that your use thereof complies with such
licenses and/or rights.
ISBN: 978-1-491-90461-9
[LSI]
To my parents, for their love, and for the wonderful example they set for me.
To my wife Miriam, for making me complete. Thank you for building your life together
with me.
To our children Chana, Rivka, Nachum, and Malka, for enrichening our lives in
innumerable ways.
Plik z chomika:
Leniek
Inne pliki z tego folderu:
bash_cookbook_2e.pdf
(7123 KB)
classic_shell_scripting.pdf
(7590 KB)
cybersecurity_ops_with_bash.pdf
(8446 KB)
docker_up_and_running_2e.pdf
(6032 KB)
learning_vi_and_vim_editors_8e.pdf
(16610 KB)
Inne foldery tego chomika:
advanced_ai_by_morgan_claypool
ai_and_machine_learning_toolkit_by_morgan_and_claypool_publishers
applied_math_and_statistics_toolkit_by_morgan_and_claypool
applied_math_productivity_by_mercury
applied_mathematics_by_mercury
Zgłoś jeśli
naruszono regulamin