summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/editor/L43.1a
blob: e73468ed538641e4c5264d6fd350699e5d6ff40c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#print
Note that there is quite a list of special characters
recognized by the editor:
 . [ * ^ $ & /
What do you do when you want to specifically use
one of these characters as itself, rather than
for its funny meaning?  You must precede it by a backslash,
as in
  s/\./,/p
which will change the line
  x, y. and z
into
  x, y, and z
easily.  The same works for all the other special
characters.  What command would change
  *
into
  c
Type "answer COMMAND" where COMMAND is of the form
  s/.././p
#copyin
#user
#uncopyin
#match s/\*/c/p
#match s/\*/c/
You forgot the "p" on the end.
#log
#next
44.1a 10