Brian W. Kernighan
ABSTRACT
This paper is meant to help
secretaries, typists and programmers
to make effective use of the
UNIXfacilities
for preparing and editing text.
It provides explanations and examples of
-
special characters, line addressing and global commands in the editor
ed;
-
commands for ``cut and paste'' operations on files
and parts of files,
including the
mv,
cp,
cat
and
rm
commands,
and the
r,
w,
m
and
t
commands of the editor;
-
editing scripts and
editor-based programs like
grep
and
sed.
Although the treatment is aimed
at non-programmers,
new
users
with any background
should find helpful hints
on how to get their jobs done
more easily.
Table of Contents
- 1.
INTRODUCTION
- 2.
SPECIAL CHARACTERS
- 3.
LINE ADDRESSING IN THE EDITOR
- 4.
GLOBAL COMMANDS
- 5.
CUT AND PASTE WITH UNIX COMMANDS
- 6.
CUT AND PASTE WITH THE EDITOR
- 7.
SUPPORTING TOOLS