UNIX SHELL PROGRAMMING, FOURTH EDITION
Lex is a very fast lexical analyzer. It can read files, intepret and transform them quickly.
Lex is an ideal tool for building custom filters that can be used with the Shell.
Appendix Y- Nroff and Troff
Nroff and Troff are the old document processing language of UNIX Shell. Surprisingly, they are
the basis of HTML-- Hypertext markup language for the Internet. For example, a heading level 1
in nroff (.h1) is similar to the HTML version H1. One way to format HTML documents
for printing could be to run them through sed to create files for nroff:
cat html.doc | sed -e "s/H1/.h1/p" | nroff
At the heart of all editing operations lie the Shell Regular Expressions. These expressions can
help editing commands like ed, sed, and vi find and change all manner complex strings of data.
Links:
|
 |
ISBN 0471168947
Wiley
Computer Publishing
Timely. Practical. Reliable.
|