Commit | Line | Data |
---|---|---|
fd15fd37 BJ |
1 | |
2 | Suppose you wanted to match all letters and | |
3 | punctuation marks. You could try | |
4 | [^ ] | |
5 | which is "anything but blank". | |
6 | Try the following commands: | |
7 | ||
8 | ed cut | |
9 | 1p | |
10 | 1s/p[^ ]/xxx/p | |
11 | w | |
12 | q | |
13 | ready | |
14 | #create Ref | |
15 | stop this comxxxter | |
16 | #create cut | |
17 | stop this computer | |
18 | #user | |
19 | #cmp cut Ref | |
20 | #log | |
21 | #next | |
22 | 34.2f 5 |