An edition of Unix text processing (1987)

Unix text processing

UTP Revival Release
  • 2 Want to read

My Reading Lists:

Create a new list

Check-In

×Close
Add an optional check-in date. Check-in dates are used to track yearly reading goals.
Today

  • 2 Want to read


Download Options

Buy this book

Last edited by Stewart C. Russell
June 5, 2021 | History
An edition of Unix text processing (1987)

Unix text processing

UTP Revival Release
  • 2 Want to read

In 2002, the authors made a scan of the book available on the O'Reilly website under a Creative Commons licence. A group of groff users started the “UTP Revival” transcription project to convert the book back to usable troff source. The version uploaded here is from Deri James's UTP-1.1 repository. It includes working PDF cross-references and hyperlinks.

Publish Date

Buy this book

Previews available in: English

Edition Availability
Cover of: Unix text processing
Unix text processing
2004, UTP Revival Project
- UTP Revival Release
Cover of: Unix text processing
Unix text processing
1987, Hayden Books
in Undetermined
Cover of: UNIX text processing
UNIX text processing
1987, Hayden Books
in English - 1st ed.

Add another edition?

Book Details


Table of Contents

Chapter 1. Preface
Page xi
From Typewriters to Word Processors
Page 1
A Workspace
Page 2
Tools for Editing
Page 3
Document Formatting
Page 4
Printing
Page 6
Other UNIX Text-Processing Tools
Page 7
Chapter 2. UNIX Fundamentals
Page 9
The UNIX Shell
Page 9
Output Redirection
Page 10
Special Characters
Page 14
Environment Variables
Page 15
Pipes and Filters
Page 16
Shell Scripts
Page 17
Chapter 3. Learning vi
Page 19
Session 1: Basic Commands
Page 19
Opening a File
Page 20
Moving the Cursor
Page 22
Simple Edits
Page 25
Session 2: Moving Around in a Hurry
Page 32
Movement by Screens
Page 32
Movement by Text Blocks
Page 34
Movement by Searches
Page 35
Movement by Line Numbers
Page 37
Session 3: Beyond the Basics
Page 38
Command-Line Options
Page 38
Customizing vi
Page 40
Edits and Movement
Page 42
More Ways to Insert Text
Page 43
Using Buffers
Page 43
Marking Your Place
Page 45
Other Advanced Edits
Page 46
Chapter 4. nroff and troff
Page 47
What the Formatter Does
Page 48
Using nroff
Page 51
Using troff
Page 51
The Markup Language
Page 54
Turning Filling On and Off
Page 55
Controlling Justification
Page 57
Hyphenation
Page 59
Page Layout
Page 60
Page Transitions
Page 70
Changing Fonts
Page 74
A First Look at Macros
Page 81
Chapter 5. The ms Macros
Page 85
Formatting a Text File with ms
Page 86
Page Layout
Page 86
Paragraphs
Page 87
Changing Font and Point Size
Page 93
Displays
Page 97
Headings
Page 99
Cover Sheet Macros
Page 100
Miscellaneous Features
Page 102
Page Headers and Footers
Page 104
Problems on the First Page
Page 105
Extensions to ms
Page 105
Chapter 6. The mm Macros
Page 107
Formatting a Text File
Page 107
Page Layout
Page 110
Justification
Page 114
Word Hyphenation
Page 115
Displays
Page 115
Changing Font and Point Size
Page 116
More about Displays
Page 121
Forcing a Page Break
Page 125
Formatting Lists
Page 126
Headings
Page 136
Table of Contents
Page 141
Footnotes and References
Page 142
Extensions to mm
Page 145
Chapter 7. Advanced Editing
Page 149
The ex Editor
Page 149
Using ex Commands in vi
Page 151
Write Locally, Edit Globally
Page 151
Pattern Matching
Page 154
Writing and Quitting Files
Page 159
Reading In a File
Page 160
Executing UNIX Commands
Page 160
Editing Multiple Files
Page 163
Word Abbreviation
Page 165
Saving Commands with map
Page 166
Chapter 8. Formatting with tbl
Page 169
Using tbl
Page 170
Specifying Tables
Page 170
A Simple Table Example
Page 171
Laying Out a Table
Page 172
Describing Column Formats
Page 173
Changing the Format within a Table
Page 181
Putting Text Blocks in a Column
Page 182
Breaking Up Long Tables
Page 184
Putting Titles on Tables
Page 185
A tbl Checklist
Page 186
Some Complex Tables
Page 186
Chapter 9. Typesetting Equations with eqn
Page 191
A Simple eqn Example
Page 191
Using eqn
Page 192
Specifying Equations
Page 192
Spaces in Equations
Page 194
Using Braces for Grouping
Page 196
Special Character Names
Page 196
Special Symbols
Page 197
Other Positional Notation
Page 200
Diacritical Marks
Page 201
Defining Terms
Page 202
Quoted Text
Page 202
Fine-Tuning the Document
Page 203
Keywords and Precedence
Page 205
Problem Checklist
Page 205
Chapter 10. Drawing Pictures
Page 207
The pic Preprocessor
Page 207
From Describing to Programming Drawings
Page 228
pic Enhancements
Page 236
Chapter 11. A Miscellany of UNIX Commands
Page 239
Managing Your Files
Page 239
Viewing the Contents of a File
Page 243
Searching for Information in a File
Page 244
Proofing Documents
Page 247
Comparing Versions of the Same Document
Page 253
Manipulating Data
Page 260
Cleaning Up and Backing Up
Page 270
Compressing Files
Page 272
Communications
Page 272
Scripts of UNIX Sessions
Page 274
Chapter 12. Let the Computer Do the Dirty Work
Page 275
Shell Programming
Page 275
ex Scripts
Page 284
Stream Editing
Page 288
A Proofreading Tool You Can Build
Page 303
Chapter 13. The awk Programming Language
Page 309
Invoking awk
Page 310
Records and Fields
Page 310
Testing Fields
Page 311
Passing Parameters from a Shell Script
Page 311
Changing the Field Separator
Page 312
System Variables
Page 313
Looping
Page 313
awk Applications
Page 319
Testing Programs
Page 327
Chapter 14. Writing nroff and troff Macros
Page 329
Comments
Page 329
Defining Macros
Page 330
Macro Names
Page 330
Macro Arguments
Page 332
Nested Macro Definitions
Page 333
Conditional Execution
Page 334
Interrupted Lines
Page 337
Number Registers
Page 338
Defining Strings
Page 342
Diversions
Page 343
Environment Switching
Page 345
Redefining Control and Escape Characters
Page 346
Debugging Your Macros
Page 347
Error Handling
Page 349
Macro Style
Page 350
Chapter 15. Figures and Special Effects
Page 353
Formatter Escape Sequences
Page 353
Local Vertical Motions
Page 353
Local Horizontal Motions
Page 356
Absolute Motions
Page 357
Line Drawing
Page 358
Talking Directly to the Printer
Page 366
Marking a Vertical Position
Page 367
Overstriking Words or Characters
Page 368
Tabs, Leaders, and Fields
Page 372
Constant Spacing
Page 375
Pseudo-Fonts
Page 376
Character Output Translations
Page 377
Output Line Numbering
Page 378
Change Bars
Page 379
Form Letters
Page 380
Reading in Other Files or Program Output
Page 381
Chapter 16. What’s in a Macro Package?
Page 383
Just What Is a Macro Package, Revisited
Page 383
Building a Consistent Framework
Page 385
Page Transitions
Page 389
Page Transitions in ms
Page 390
Some Extensions to the Basic Package
Page 394
Other Exercises in Page Transition
Page 397
Chapter 17. An Extended ms Macro Package
Page 405
Creating a Custom Macro Package
Page 405
Structured Technical Documents
Page 407
Figure and Table Headings
Page 415
Lists, Lists, and More Lists
Page 416
Source Code and Other Examples
Page 419
Notes, Cautions, and Warnings
Page 420
Table of Contents, Index, and Other End Lists
Page 422
Chapter 18. Putting It All Together
Page 429
Saving an External Table of Contents
Page 430
Index Processing
Page 433
Let make Remember the Details
Page 444
Where to Go from Here
Page 447
Appendix A. Editor Command Summary
Page 449
Pattern-Matching Syntax
Page 449
The vi Editor
Page 450
The ex Editor
Page 455
The sed Editor
Page 460
awk
Page 462
Appendix B. Formatter Command Summary
Page 467
nroff/troff Command-Line Syntax
Page 467
nroff/troff Requests
Page 469
Escape sequences
Page 472
Predefined Number Registers
Page 473
Special Characters
Page 474
The ms macros
Page 476
The mm Macros
Page 479
tbl Command Characters and Words
Page 485
eqn Command Characters
Page 487
The pic Preprocessor
Page 490
Appendix C. Shell Command Summary
Page 495
Appendix D. Format of troff Width Tables
Page 501
The DESC File
Page 501
Font Description Files
Page 502
Compiling Font Files
Page 503
Font Usage Limitations
Page 503
Appendix E. Comparing mm and ms
Page 505
Paragraphs
Page 505
Justification
Page 505
Displays
Page 505
Formatting Lists
Page 506
Change Font
Page 506
Change Point Size
Page 506
Headers and Footers
Page 506
Section Headings
Page 506
Footnotes
Page 507
Appendix F. The format Macros
Page 509
Summary of the Macros
Page 509
Appendix G. Selected Readings
Page 511
Introductory UNIX Texts
Page 511
Advanced Topics
Page 511

Edition Notes

Published under the Creative Commons Attribution 1.0 Generic (CC BY 1.0) licence.

Copyright Date
1987

The Physical Object

Pagination
xiv, 527 p.

ID Numbers

Open Library
OL32576906M
Internet Archive
utp_book

Work Description

from the original back cover blurb:

Today, writers not only work with words, they work with computers and the software programs, printers, and terminals that are part of a computer system.

UNIX Text Processing reveals how computers can be used effectively in the preparation of written documents, particularly major book-length projects. The useful tools and techniques featured in UNIX Text Processing can help you unlock the resources and power of a computer system to tackle such writing projects as technical manuals, reports, and proposals.

In these pages, you'll learn:

  • What's in the UNIX toolbox for writers, including format design, printing, and editing

  • How to make the computer do most of the work, using shell scripts and editing scripts

  • How to make use of the awk programming language for managing information

  • How to create simple line drawings, tables, and equations

  • How troff helps you take advantage of the capabilities of laser printers and typesetters

  • How to customize macros for document formatting

Community Reviews (0)

Feedback?
No community reviews have been submitted for this work.

Lists

See All

History

Download catalog record: RDF / JSON
June 5, 2021 Edited by Stewart C. Russell added blurb
February 13, 2020 Edited by MARC Bot remove fake subjects
October 14, 2011 Edited by EdwardBot remove duplicate authors
October 11, 2011 Edited by ImportBot import new book
December 10, 2009 Created by WorkBot add works page