|
|
1.1 root 1: #print
2: Here's a last review exercise. In the file "cities" is a list
3: of cities with populations and Zip codes. The following cities
4: were omitted: add them in alphabetical order
5: St. Louis 622,236 MO 63166
6: Columbus 539,677 OH 43216
7: Then, edit the file so that
8: (a) the blanks, if any, at the beginnings of lines and
9: ends of lines are removed.
10: (b) each interior string of blanks is replaced by a single tab,
11: except for the blanks within "Los Angeles", "New Orleans",
12: "New York", "San Antonio", "San Diego", "San Francisco",
13: and "St. Louis".
14: (c) Spell "Washington" and "Indianapolis" correctly.
15: Then rewrite the file and type "ready".
16: #create Ref
17: Atlanta 496,973 GA 30301
18: Baltimore 905,759 MD 21233
19: Boston 641,071 MA 02109
20: Bridgeport 156,542 CN 06601
21: Buffalo 462,768 NY 14240
22: Chicago 3,366,957 IL 60607
23: Cleveland 750,903 OH 44101
24: Columbus 539,677 OH 43216
25: Dallas 844,401 TX 75221
26: Denver 514,678 CO 80201
27: Detroit 1,511,482 MI 48226
28: Hartford 158,017 CN 06101
29: Houston 1,232,802 TX 77052
30: Indianapolis 774,624 IN 46201
31: Los Angeles 2,809,596 CA 92101
32: Miami 334,859 FL 33101
33: Milwaukee 717,099 WI 53201
34: Minneapolis 434,400 MN 55401
35: New Orleans 593,471 LA 70140
36: New York 7,894,862 NY 10001
37: Newark 382,417 NJ 07901
38: Omaha 347,328 NE 68108
39: Philadephia 1,948,609 PA 19104
40: Phoenix 581,562 AR 85026
41: Pittsburgh 520,117 PA 15230
42: San Antonio 654,153 TX 78205
43: San Diego 696,769 CA 92101
44: San Francisco 715,674 CA 94101
45: Seattle 530,831 WA 98101
46: St. Louis 622,236 MO 63166
47: Washington 756,510 DC 20013
48: #create cities
49: Atlanta 496,973 GA 30301
50: Baltimore 905,759 MD 21233
51: Boston 641,071 MA 02109
52: Bridgeport 156,542 CN 06601
53: Buffalo 462,768 NY 14240
54: Chicago 3,366,957 IL 60607
55: Cleveland 750,903 OH 44101
56: Dallas 844,401 TX 75221
57: Denver 514,678 CO 80201
58: Detroit 1,511,482 MI 48226
59: Hartford 158,017 CN 06101
60: Houston 1,232,802 TX 77052
61: Indianpolis 774,624 IN 46201
62: Los Angeles 2,809,596 CA 92101
63: Miami 334,859 FL 33101
64: Milwaukee 717,099 WI 53201
65: Minneapolis 434,400 MN 55401
66: New Orleans 593,471 LA 70140
67: New York 7,894,862 NY 10001
68: Newark 382,417 NJ 07901
69: Omaha 347,328 NE 68108
70: Philadephia 1,948,609 PA 19104
71: Phoenix 581,562 AR 85026
72: Pittsburgh 520,117 PA 15230
73: San Antonio 654,153 TX 78205
74: San Diego 696,769 CA 92101
75: San Francisco 715,674 CA 94101
76: Seattle 530,831 WA 98101
77: Washinggton 756,510 DC 20013
78: #user
79: #cmp cities Ref
80: #log
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.