summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/editor/L3.1a
blob: 2c8ea3d5d4e6e3f0bbcbacb31f2a71a2f485b7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#print
The editor accepts commands one per line,
just like the other programs in UNIX; but its
commands are unique to it.  The
only command present in every editing session is the
last one, 'q' (quit) which returns to the normal
command interpreting program.  I'm going to put
you in the editor.  Type 'q' to leave,
and then type "ready" when you get the '$' from
the normal command handler.
#create junk
You're in the editor.
#pipe
ed - junk
1p
#user
#unpipe
#cmp junk junk
#log
#next
3.1b 5