summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/morefiles/L3.1b
blob: e48cc813a923ce925f5aaa22407e00a9f26507f6 (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
33
34
35
36
37
38
39
40
#print
How many spelling mistakes are there in the file "Ref",
according to "spell"?
Type "answer N", where N is the number you decide on.
#create Ref
Bianchi
Blue
Feldman
McIlroy
Roome
Rosin
Rosler
Aho
Bourne
Dvorak
Haley
Harris
Holt
Johnson
Mashey
Mitze
Muha
Nelson
Pinson
Plauger
Spivack
Thompson
Weinberger
Lesk
Ossanna
#
spell Ref | %s/../lcount >X2 &
#copyin
#user
#uncopyin
tail -1 .copy >X1
#cmp X2 X1
#log
#next
3.1c 10