您好,欢迎来到聚文网。 登录 免费注册
高校awk编程

高校awk编程

  • 字数: 685000.0
  • 装帧: 平装
  • 出版社: 东南大学出版社
  • 作者: (美)罗宾斯(Arnold Robbins) 著 著
  • 出版日期: 2015-09-01
  • 商品条码: 9787564159122
  • 版次: 1
  • 开本: 16开
  • 页数: 526
  • 出版年份: 2015
定价:¥98 销售价:登录后查看价格  ¥{{selectedSku?.salePrice}} 
库存: {{selectedSku?.stock}} 库存充足
{{item.title}}:
{{its.name}}
精选
内容简介
awk是一种优良的文本处理工具,Linux及Unix环境中现有的功能最强大的数据处理引擎之一。AWK 提供了极其强大的功能:可以进行样式装入、流控制、数学运算符、进程控制语句甚至于内置的变量和函数。它具备了一个完整的语言所应具有的几乎所有精美特性。本书讲述awk知识。
作者简介
罗宾斯,专业程序员兼技术作者,自从1980年以来就一直在UNIX系统下工作,并从1987年开始就使用awk。Arnold是gawk及其文档的维护人员。作为POSIXl003 2投票组的成员,他帮助制定了awk的POSIX标准。
目录
Foreword to the Third Edition
Foreword to the Fourth Edition
Preface
Part Ⅰ.  The awk Language
1. Getting Started with awk
How to Run awk Programs
One-Shot Throwaway awk Programs
Running awk Without Input Files
Running Long Programs
Executable awk Programs
Comments in awk Programs
Shell Quoting Issues
Datafiles for the Examples
Some Simple Examples
An Example with Two Rules
A More Complex Example
awk Statements Versus Lines
Other Features of awk
When to Use awk
Summary
2. Running awk and gawk
Invoking awk
Command-Line Options
Other Command-Line Arguments
Naming Standard Input
The Environment Variables gawk Uses
The AWKPATH Environment Variable
The AWKLIBPATH Environment Variable
Other Environment Variables
gawks Exit Status
Including Other Files into Your Program
Loading Dynamic Extensions into Your Program
Obsolete Options and/or Features
Undocumented Options and Features
Summary
3. Regular Expressions
How to Use Regular Expressions
Escape Sequences
Regular Expression Operators
Using Bracket Expressions
How Much Text Matches?
Using Dynamic Regexps
gawk-Specific Regexp Operators
Case Sensitivity in Matching
Summary
4. Reading Input Files
How Input Is Split into Records
Record Splitting with Standard awk
Record Splitting with gawk
Examining Fields
Nonconstant Field Numbers
Changing the Contents of a Field
Specifying How Fields Are Separated
Whitespace Normally Separates Fields
Using Regular Expressions to Separate Fields
Making Each Character a Separate Field
Setting FS from the Command Line
Making the Full Line Be a Single Field
Field-Splitting Summary
Reading Fixed-Width Data
Defining Fields by Content
Multiple-Line Records
Explicit Input with getline
Using getline with No Arguments
Using getline into a Variable
Using getline from a File
5. Printing Output
6. Expressions
7. Patterns, Actions, and Variables
8. Arrays in awk
9. Functions
Part Ⅱ.  Problem Solving with awk
1O. A Library of awk Functions
11. Practical awk Programs
Part Ⅲ.  Moving Beyond Standard awkwith gawk
12. Advanced Features of gawk
13. Internationalization with gawk
14. Debugging awk Programs
15. Arithmetic and Arbitrary-Precision Arithmetic with gawk
16. Writing Extensions for gawk
Part Ⅳ.  Appendices
A. The Evolution of the awk Language
B. Installing gawk
C. GNU General Public License
Index

蜀ICP备2024047804号

Copyright 版权所有 © jvwen.com 聚文网