| 1 | #print |
| 2 | How long is file "text"? (That is, |
| 3 | how many lines does it have, or what |
| 4 | is the line number of the last line.) Remember the |
| 5 | "=" command? This file is also too long for you |
| 6 | to print out in full. |
| 7 | Type "answer N" where N is the number of the last |
| 8 | line. |
| 9 | #create text |
| 10 | a |
| 11 | able |
| 12 | about |
| 13 | above |
| 14 | absolutely |
| 15 | accidents |
| 16 | act |
| 17 | add |
| 18 | administered |
| 19 | admiration |
| 20 | adoring |
| 21 | advancing |
| 22 | adventure |
| 23 | advised |
| 24 | after |
| 25 | afternoon |
| 26 | afterward |
| 27 | again |
| 28 | against |
| 29 | agent |
| 30 | alacrity |
| 31 | all |
| 32 | allow |
| 33 | almost |
| 34 | alone |
| 35 | along |
| 36 | alongside |
| 37 | alp-climbers |
| 38 | alpenstock |
| 39 | alpine |
| 40 | alps |
| 41 | already |
| 42 | also |
| 43 | alter |
| 44 | although |
| 45 | am |
| 46 | among |
| 47 | an |
| 48 | and |
| 49 | animal |
| 50 | animals |
| 51 | another |
| 52 | anxiety? |
| 53 | any |
| 54 | apparent |
| 55 | applause |
| 56 | appointed |
| 57 | appreciation |
| 58 | are |
| 59 | argued |
| 60 | armor-bearers |
| 61 | around |
| 62 | arrange |
| 63 | arrived |
| 64 | article |
| 65 | as |
| 66 | ascend |
| 67 | ascending |
| 68 | ascent |
| 69 | aside |
| 70 | asked |
| 71 | assailed |
| 72 | assaulting |
| 73 | assembled |
| 74 | assist |
| 75 | at |
| 76 | attempt |
| 77 | attended |
| 78 | attention |
| 79 | attracted |
| 80 | avalanches |
| 81 | away |
| 82 | awful |
| 83 | back |
| 84 | badly |
| 85 | baffled |
| 86 | barometer |
| 87 | barrier |
| 88 | battered |
| 89 | battle |
| 90 | be |
| 91 | beautiful |
| 92 | because |
| 93 | become |
| 94 | bed |
| 95 | been |
| 96 | before |
| 97 | began |
| 98 | beginning |
| 99 | behind |
| 100 | being |
| 101 | believed |
| 102 | beneficent |
| 103 | better |
| 104 | between |
| 105 | big |
| 106 | bitter |
| 107 | black |
| 108 | blue |
| 109 | book |
| 110 | both |
| 111 | boughs |
| 112 | brass |
| 113 | break |
| 114 | breast |
| 115 | breath |
| 116 | bridge |
| 117 | bringing |
| 118 | broke |
| 119 | broken |
| 120 | brought |
| 121 | burdens |
| 122 | burst |
| 123 | but |
| 124 | by |
| 125 | called |
| 126 | calmly |
| 127 | came |
| 128 | can |
| 129 | cannot |
| 130 | caravan |
| 131 | carpeted |
| 132 | carried |
| 133 | case |
| 134 | catch |
| 135 | caught |
| 136 | caused |
| 137 | cavalcade |
| 138 | ceased |
| 139 | cellar |
| 140 | center |
| 141 | certainly |
| 142 | chair |
| 143 | chance |
| 144 | change |
| 145 | chaplain |
| 146 | cheered |
| 147 | chief |
| 148 | chilly |
| 149 | church |
| 150 | circumstance |
| 151 | citizens |
| 152 | civilization |
| 153 | clear |
| 154 | clearly |
| 155 | climb |
| 156 | climber |
| 157 | clock |
| 158 | closed |
| 159 | clove |
| 160 | coil |
| 161 | cold |
| 162 | column |
| 163 | comfort |
| 164 | command |
| 165 | commanded |
| 166 | commended |
| 167 | concluded |
| 168 | condition |
| 169 | confronted |
| 170 | consequently |
| 171 | considerable |
| 172 | considered |
| 173 | consisted |
| 174 | constantly |
| 175 | consulting |
| 176 | contrived |
| 177 | convinced |
| 178 | cord |
| 179 | could |
| 180 | country |
| 181 | couple |
| 182 | courage |
| 183 | course |
| 184 | cover |
| 185 | covered |
| 186 | cows |
| 187 | crash |
| 188 | crawling |
| 189 | crept |
| 190 | crippling |
| 191 | crossed |
| 192 | crowd |
| 193 | crowded |
| 194 | cruel |
| 195 | crumbly |
| 196 | crutches |
| 197 | custom |
| 198 | cut |
| 199 | danger |
| 200 | dangerous |
| 201 | dark |
| 202 | dead |
| 203 | deaf |
| 204 | dear |
| 205 | decided |
| 206 | decked |
| 207 | declared |
| 208 | deep |
| 209 | deeply |
| 210 | defective |
| 211 | demanded |
| 212 | demoralization |
| 213 | densely |
| 214 | deployed |
| 215 | descending |
| 216 | describe |
| 217 | desert |
| 218 | deserted |
| 219 | despair |
| 220 | despondency |
| 221 | detachment |
| 222 | detail |
| 223 | detailing |
| 224 | did |
| 225 | die |
| 226 | directly |
| 227 | dirt |
| 228 | disappear |
| 229 | disappeared |
| 230 | dismal |
| 231 | disposition |
| 232 | divert |
| 233 | do |
| 234 | doing |
| 235 | done |
| 236 | donkey |
| 237 | doom |
| 238 | down |
| 239 | draped |
| 240 | dressed |
| 241 | drooped |
| 242 | dull |
| 243 | dumb |
| 244 | during |
| 245 | eager |
| 246 | ear |
| 247 | ears |
| 248 | earth |
| 249 | earthquake |
| 250 | easy |
| 251 | eat |
| 252 | edelweiss |
| 253 | either |
| 254 | elephants |
| 255 | eleven |
| 256 | eloquence |
| 257 | embrace |
| 258 | encounter |
| 259 | end |
| 260 | ended |
| 261 | enough |
| 262 | entered |
| 263 | entirely |
| 264 | established |
| 265 | estimate |
| 266 | even |
| 267 | evening |
| 268 | events |
| 269 | ever |
| 270 | every |
| 271 | everybody |
| 272 | examine |
| 273 | exceeded |
| 274 | excellent |
| 275 | except |
| 276 | excess |
| 277 | exclaimed |
| 278 | excursions |
| 279 | executed |
| 280 | exhaustion |
| 281 | expected |
| 282 | expedition |
| 283 | experimenter |
| 284 | explained |
| 285 | explosion |
| 286 | extreme |
| 287 | eye |
| 288 | eyes |
| 289 | face |
| 290 | faces |
| 291 | fact |
| 292 | fagged |
| 293 | failed |
| 294 | fainted |
| 295 | fallen |
| 296 | false |
| 297 | far |
| 298 | fast |
| 299 | fastened |
| 300 | faster |
| 301 | fatal |
| 302 | father |
| 303 | fatigue |
| 304 | fear |
| 305 | feared |
| 306 | fearful |
| 307 | fears |
| 308 | feature |
| 309 | feel |
| 310 | feet |
| 311 | fell |
| 312 | fellow |
| 313 | fetch |
| 314 | feverishly |
| 315 | few |
| 316 | fifteen |
| 317 | filing |
| 318 | find |
| 319 | finer |
| 320 | firmly |
| 321 | first |
| 322 | five |
| 323 | five-pound |
| 324 | fixed |
| 325 | flank |
| 326 | foot |
| 327 | for |
| 328 | forest |
| 329 | forgotten |
| 330 | form |
| 331 | forth |
| 332 | forty-foot |
| 333 | forward |
| 334 | found |
| 335 | four |
| 336 | frantic |
| 337 | free |
| 338 | frequency |
| 339 | fresh |
| 340 | friend |
| 341 | frightened |
| 342 | from |
| 343 | front |
| 344 | frozen |
| 345 | full |
| 346 | furthest |
| 347 | fury |
| 348 | gave |
| 349 | gazing |
| 350 | general |
| 351 | gentle |
| 352 | get |
| 353 | give |
| 354 | glad |
| 355 | glanced |
| 356 | gliding |
| 357 | go |
| 358 | going |
| 359 | gone |
| 360 | good |
| 361 | got |
| 362 | grace |
| 363 | grand |
| 364 | gratifying |
| 365 | great |
| 366 | green |
| 367 | ground |
| 368 | grow |
| 369 | growing |
| 370 | guide |
| 371 | guides |
| 372 | guttered |
| 373 | had |
| 374 | half |
| 375 | half-mile |
| 376 | halt |
| 377 | hampered |
| 378 | hand |
| 379 | hands |
| 380 | happened |
| 381 | harder |
| 382 | hardly |
| 383 | harris |
| 384 | hat |
| 385 | hate |
| 386 | haunts |
| 387 | have |
| 388 | having |
| 389 | he |
| 390 | head |
| 391 | hear |
| 392 | heard |
| 393 | heavens |
| 394 | heavy |
| 395 | held |
| 396 | here |
| 397 | hesitated |
| 398 | high |
| 399 | hill |
| 400 | him |
| 401 | himself |
| 402 | his |
| 403 | hoist |
| 404 | hold |
| 405 | homes |
| 406 | hook |
| 407 | hook-rope |
| 408 | hoping |
| 409 | horns |
| 410 | host |
| 411 | hotel |
| 412 | hotels |
| 413 | hour |
| 414 | hours |
| 415 | how |
| 416 | hurry |
| 417 | huts |
| 418 | huzza |
| 419 | i |
| 420 | ice-ax |
| 421 | ice-axes |
| 422 | idea |
| 423 | if |
| 424 | implement |
| 425 | implements |
| 426 | imposing |
| 427 | impressive |
| 428 | impulse |
| 429 | in |
| 430 | inches |
| 431 | including |
| 432 | indignant |
| 433 | ingratitude |
| 434 | injured |
| 435 | innocent |
| 436 | inquiries? |
| 437 | inquiring |
| 438 | #copyin |
| 439 | #user |
| 440 | #uncopyin |
| 441 | tail -1 .copy >X1 |
| 442 | %s/../lcount <text >X2 |
| 443 | #cmp X1 X2 |
| 444 | #log |
| 445 | #next |
| 446 | 21.1e 6 |