|
|
1.1 root 1: #print
2: Here is a file "values". Whenever the word
3: "liter" appears in it, add at the end of that
4: line the characters
5: (1 liter = 1.06 quart)
6: The parentheses should appear in the final
7: file, and there should be one space before the
8: left parenthesis. When done, rewrite
9: the file and type "ready".
10: #create Ref
11: gasoline: .52/gallon
12: milk: 35/qt
13: rice: .30/lb
14: acetic acid: 1.20/liter (1 liter = 1.06 quart)
15: apples: .35/lb
16: cider: .55/liter (1 liter = 1.06 quart)
17: butter: .79/lb
18: soda: .42/liter (1 liter = 1.06 quart)
19: eggs: .89/doz
20: cream: 1.25/liter (1 liter = 1.06 quart)
21: #create values
22: gasoline: .52/gallon
23: milk: 35/qt
24: rice: .30/lb
25: acetic acid: 1.20/liter
26: apples: .35/lb
27: cider: .55/liter
28: butter: .79/lb
29: soda: .42/liter
30: eggs: .89/doz
31: cream: 1.25/liter
32: #user
33: #cmp values Ref
34: #log
35: #next
36: 71.1a 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.