v

您的位置:VeryCD图书计算机与网络

图书资源事务区


《UNIX编程环境》(The UNIX Programming Envirment)英文原版[PDF]

  • 状态: 精华资源
  • 摘要:
    图书分类软件
    出版社Prentice hall
    发行时间1984年3月
    语言英文
  • 时间: 2010/04/13 18:44:07 发布 | 2010/04/26 11:00:47 更新
  • 分类: 图书  计算机与网络 

see_3000

精华资源: 12

全部资源: 16

相关: 分享到新浪微博   转播到腾讯微博   分享到开心网   分享到人人   分享到QQ空间   订阅本资源RSS更新   美味书签  subtitle
该内容尚未提供权利证明,无法提供下载。
中文名UNIX编程环境
原名The UNIX Programming Envirment
图书分类软件
资源格式PDF
版本英文原版
出版社Prentice hall
书号0-13-937681-X
发行时间1984年3月
地区美国
语言英文
简介

IPB Image
本书对UNIX操作系统的编程环境做了详细而深入的讨论,内容包括UNIX的文件系统、Shell、过滤程序、I/O编程、系统调用等,并对UNIX中的程序开发方法做了有针对性的指导。本书内容深入浅出,实例丰富,无论是UNIX系统的初学者还是专业人员都可从本书受益。本书亦可作为大学生、研究生学习UNIX的教材。

Product Description
Most of the book is devoted to discussions of individual tools, but throughout run the themes of combining programs and of using programs to build programs--emphasizing how they fit in the environment.
From the Publisher

Designed for first-time and experienced users, this book describes the UNIX®programming environment and philosophy in detail. Readers will gain an understanding not only of how to use the system, its components, and the programs, but also how these fit into the total environment.

The Unix Programming Environment is a book written by Brian W. Kernighan and Rob Pike, both of Bell Labs. It is considered an important and early document of the Unix operating system. Often considered "the Bible"[by whom?], it is considered the most authoritative work on Unix.[citation needed] It was first published in 1984 by Prentice Hall.
The book starts off with an introduction to Unix for beginners. Next, it goes into the basics of the file system and shell. The reader is led through topics ranging from the use of filters, to how to use C for programming robust Unix applications, and the basics of grep, sed, make, and awk. The book closes with a tutorial on making a programming language parser with yacc and how to use troff with ms and mm to format documents, the preprocessors tbl, eqn, and pic, and making man pages with the man macro set. The appendices cover the ed editor and the abovementioned programming language, named hoc, which stands for "high-order calculator".
The book is perhaps most valuable for its exposition of the Unix philosophy of small cooperating tools with standardized inputs and outputs, a philosophy that also shaped the end-to-end philosophy of the Internet.[citation needed] It is this philosophy, and the architecture based on it, that has allowed open source projects to be assembled into larger systems such as Linux, without explicit coordination between developers.
The book was written before ANSI C was first drafted, therefore the programs in the book are nonstandard and follow K&R style. However, the source code available on the book's website has been updated for ANSI C conformance (but uses the implicit int rule, which is disallowed in C99).
ISBN 0-13-937681-X (paperback), 0-13-937699-2 (hardback).
IPB Image
IPB Image
IPB Image
IPB Image



目录

CONTENTS
Preface ee
VII
1. UNIX for Beginners 1
1.1 Getting started 2
1.2 Day-to-day use: files and common commands 11
1.3 More about files: directories 21
1.4 The shell 26
1.5 The rest of the UNIX system 38
2. The File System 41
2.1 The basics of files 41
2.2 What's in a file? 46
2.3 Directories and filenames 48
2.4 Permissions 52
2.5 Inodes 57
2.6 The directory hierarchy 63
2.7 Devices 65
3. Using the Shell 71
3.1 Command line structure 71
3.2 Metacharacters 74
3.3 Creating new commands 80
3.4 Command arguments and parameters 82
3.5 Program output as arguments 86
3.6 Shell variables 88
3.7 More on I/O redirection 92
3.8 Looping in shell programs 94
3.9 bund 1 e: putting it all together 97
3.10 Why a programmabJe shell? 99
4. Filters 101
4.1 The grep family 102
4.2 Other filters 106iv CONTENTS
4.3 The stream editor sed
4.4 The awk pattern scanning and processing language
4.5 Good files and good filters
Shell Programming
5.1 Customizing the cal command
5.2 Which command is which?
5.3 while and until loops: watching for things
5.4 Traps: catching interrupts
5.5 Replacing a file: overwrite
5.6 zap: killing processes by name
5.7 The pick command: blanks vs. arguments
5.8 The news command: community service messages
5.9 get and put: tracking file changes
5.10 A look back

Programming with Standard I/O
6.1 Standard input and output: vis
6.2 Program arguments: vis version 2
6.3 File access: vis version 3
6.4 A screen-at-a-time printer: p
6.5 An example: pick
6.6 On bugs and debugging
6.7 An example: zap
6.8 An interactive file comparison program: idiff
6.9 Accessing the environment

UNIX System Calls
7.1 Low-level I/O
7.2 File system: directories
7.3 File system: inodes
7 . 4 Processes
7.5 Signals and interrupts

Program Development
8.1 Stage 1: A four-function calculator
8.2 Stage 2: Variables and error recovery
8.3 Stage 3: Arbitrary variable names; built-in functions
8.4 Stage 4: Compilation into a machine
8.5 Stage 5: Control flow and relational operators
8.6 Stage 6: Functions and procedures; input/output
8.7 Performance evaluation
8.8 A look back

9. Document Preparation 289
9.1 The ms macro package 290
9.2 The troff level 297
9.3 The tbl and eqn preprocessors 301
9.4 The manual page 308
9.5 Other document preparation tools 313
10. Epilog 315
Appendix 1: Editor Summary 319
Appendix 2: hoc Manual 329
Appendix 3: hoc Listing 335
Index
4.3 The stream editor sed
4.4 The awk pattern scanning and processing language
4.5 Good files and good filters

Shell Programming
5.1 Customizing the cal command
5.2 Which command is which?
5.3 while and until loops: watching for things
5.4 Traps: catching interrupts
5.5 Replacing a file: overwri te
5.6 zap: killing processes by name
5.7 The pick command: blanks vs. arguments
5.8 The news command: community service messages
5.9 get and put: tracking file changes
5.10 A look back

Programming with Standard I/O
6.1 Standard input and output: vis
6.2 Program arguments: vis version 2
6.3 File access: vis version 3
6.4 A screen-at-a-time printer: p
6.5 An example: pick
6.6 On bugs and debugging
6.7 An example: zap
6.8 An interactive file comparison program: idiff
6.9 Accessing the environment

UNIX System Calls
7.1 Low-level I/O
7.2 File system: directories
7.3 File system: inodes
7 .4 Processes
7.5 Signals and interrupts

Program Development
8.1 Stage 1: A four-function calculator
8.2 Stage 2: Variables and error recovery
8.3 Stage 3: Arbitrary variable names; built-in functions
8.4 Stage 4: Compilation into a machine
8.5 Stage 5: Control flow and relational operators
8.6 Stage 6: Functions and procedures; input/output
8.7 Performance evaluation
8.8 A look back

9. Document Preparation 289
9. 1 The ros macro package 290
9.2 The troff level 297
9.3 The tbl and eqn preprocessors 301
9.4 The manual page 308
9.5 Other document preparation tools 313
10. Epilog 315
Appendix 1: Editor Summary 319
Appendix 2: hoc Manual 329
Appendix 3: hoc Listing 335

正在读取……

这里是其它用户补充的资源(我也要补充):

暂无补充资源
正在加载,请稍等...

点击查看所有53网友评论

 

(?) [公告]留口水、评论相关规则 | [活动]每日签到 轻松领取电驴经验

    小贴士:
  1. 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  2. 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  3. 勿催片。请相信驴友们对分享是富有激情的,如果确有更新版本,您一定能搜索到。
  4. 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
  5. 如果您发现自己的评论不见了,请参考以上4条。