资料
  • 资料
  • 专题
《UNIX编程环境》
推荐星级:
时间:2019-12-22
大小:14.47MB
阅读数:331
上传用户:978461154_qq
查看他发布的资源
下载次数
2
所需E币
4
ebi
新用户注册即送 300 E币
更多E币赚取方法,请查看
close
资料介绍
《UNIX编程环境》(The UNIX Programming Envirment)(Brian W.Kernighan, Rob Pike)英文原版[PDF]本书对UNIX操作系统的编程环境做了详细而深入的讨论,内容包括UNIX的文件系统、Shell、过滤程序、I/O编程、系统调用等,并对UNIX中的程序开发方法做了有针对性的指导。本书内容深入浅出,实例丰富,无论是UNIX系统的初学者还是专业人员都可从本书受益。本书亦可作为大学生、研究生学习UNIX的教材。 Product DescriptionMost 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 PublisherDesigned 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 KR 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).目录: CONTENTSPreface eeVII1. UNIX for Beginners 11.1 Getting started 21.2 Day-to-day use: files and common commands 111.3 More about files: directories 211.4 The shell 261.5 The rest of the UNIX system 382. The File System 412.1 The basics of files 412.2 What's in a file? 462.3 Directories and filenames 482.4 Permissions 522.5 Inodes 572.6 The directory hierarchy 632.7 Devices 653. Using the Shell 713.1 Command line structure 713.2 Metacharacters 743.3 Creating new commands 803.4 Command arguments and parameters 823.5 Program output as arguments 863.6 Shell variables 883.7 More on I/O redirection 923.8 Looping in shell programs 943.9 bund 1 e: putting it all together 973.10 Why a programmabJe shell? 994. Filters 1014.1 The grep family 1024.2 Other filters 106iv CONTENTS4.3 The stream editor sed4.4 The awk pattern scanning and processing language4.5 Good files and good filtersShell Programming5.1 Customizing the cal command5.2 Which command is which?5.3 while and until loops: watching for things5.4 Traps: catching interrupts5.5 Replacing a file: overwrite5.6 zap: killing processes by name5.7 The pick command: blanks vs. arguments5.8 The news command: community service messages5.9 get and put: tracking file changes5.10 A look backProgramming with Standard I/O6.1 Standard input and output: vis6.2 Program arguments: vis version 26.3 File access: vis version 36.4 A screen-at-a-time printer: p6.5 An example: pick6.6 On bugs and debugging6.7 An example: zap6.8 An interactive file comparison program: idiff6.9 Accessing the environmentUNIX System Calls7.1 Low-level I/O7.2 File system: directories7.3 File system: inodes7 . 4 Processes7.5 Signals and interruptsProgram Development8.1 Stage 1: A four-function calculator8.2 Stage 2: Variables and error recovery8.3 Stage 3: Arbitrary variable names; built-in functions8.4 Stage 4: Compilation into a machine8.5 Stage 5: Control flow and relational operators8.6 Stage 6: Functions and procedures; input/output8.7 Performance evaluation8.8 A look back9. Document Preparation 2899.1 The ms macro package 2909.2 The troff level 2979.3 The tbl and eqn preprocessors 3019.4 The manual page 3089.5 Other document preparation tools 31310. Epilog 315Appendix 1: Editor Summary 319Appendix 2: hoc Manual 329Appendix 3: hoc Listing 335Index4.3 The stream editor sed4.4 The awk pattern scanning and processing language4.5 Good files and good filtersShell Programming5.1 Customizing the cal command5.2 Which command is which?5.3 while and until loops: watching for things5.4 Traps: catching interrupts5.5 Replacing a file: overwri te5.6 zap: killing processes by name5.7 The pick command: blanks vs. arguments5.8 The news command: community service messages5.9 get and put: tracking file changes5.10 A look backProgramming with Standard I/O6.1 Standard input and output: vis6.2 Program arguments: vis version 26.3 File access: vis version 36.4 A screen-at-a-time printer: p6.5 An example: pick6.6 On bugs and debugging6.7 An example: zap6.8 An interactive file comparison program: idiff6.9 Accessing the environmentUNIX System Calls7.1 Low-level I/O7.2 File system: directories7.3 File system: inodes7 .4 Processes7.5 Signals and interruptsProgram Development8.1 Stage 1: A four-function calculator8.2 Stage 2: Variables and error recovery8.3 Stage 3: Arbitrary variable names; built-in functions8.4 Stage 4: Compilation into a machine8.5 Stage 5: Control flow and relational operators8.6 Stage 6: Functions and procedures; input/output8.7 Performance evaluation8.8 A look back9. Document Preparation 2899. 1 The ros macro package 2909.2 The troff level 2979.3 The tbl and eqn preprocessors 3019.4 The manual page 3089.5 Other document preparation tools 31310. Epilog 315Appendix 1: Editor Summary 319Appendix 2: hoc Manual 329Appendix 3: hoc Listing 335 ……
版权说明:本资料由用户提供并上传,仅用于学习交流;若内容存在侵权,请进行举报,或 联系我们 删除。
PARTNER CONTENT
相关评论 (下载后评价送E币 我要评论)
没有更多评论了
  • 可能感兴趣
  • 关注本资料的网友还下载了
  • 技术白皮书