blob: f8af90eadd2ec065cc11e2460131a9580baa8258 (
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
30
31
32
|
#print
Note that there is quite a list of characters that
are special to the editor:
. [ * ^ $ & /
What do you do when you want to use one of these
characters as itself, rather than for its special meaning?
You must precede it by a backlash. For example, how
would you turn
".
into
."
Try the following sequence:
ed test
1,3p
1,3s/"\./."/p
w
q
ready
#create Ref
This is a "quoted word."
Here is "another."
Be "careful." Especially with dots.
#create test
This is a "quoted word".
Here is "another".
Be "careful". Especially with dots.
#user
#cmp test Ref
#log
#next
43.2b 5
|