home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / games / volume03 / quizm < prev    next >
Encoding:
Internet Message Format  |  1991-08-27  |  17.6 KB

  1. From mipos3!intelca!oliveb!ames!eos!aurora!labrea!decwrl!decvax!tektronix!tekgen!tekred!games-request Thu Mar  3 12:48:11 PST 1988
  2. Article 54 of net.sources.games:
  3. Path: td2cad!mipos3!intelca!oliveb!ames!eos!aurora!labrea!decwrl!decvax!tektronix!tekgen!tekred!games-request
  4. From: games-request@tekred.TEK.COM
  5. Newsgroups: net.sources.games
  6. Subject: v03i091:  quizm - a menu driven quiz using ksh
  7. Message-ID: <2237@tekred.TEK.COM>
  8. Date: 2 Mar 88 00:31:07 GMT
  9. Sender: billr@tekred.TEK.COM
  10. Lines: 716
  11. Approved: billr@tekred.TEK.COM
  12.  
  13. Submitted by: "Dik T. Winter" <mcvax!cwi.nl!dik@uunet.uu.net>
  14. Comp.sources.games: Volume 3, Issue 91
  15. Archive-name: quizm
  16.  
  17.     [As we don't have the Korn shell on this system, I wasn't
  18.      able to try it out - you're on your own. WARNING: when
  19.      you unshar quiz.sh, it creates filenames with imbedded
  20.      whitespace. This may not be a problem for ksh, but could
  21.      cause potential problems with other shells.  -br]
  22.  
  23. This is something I made together with a silly co-worker (this is
  24. the third time, I hope he minds).  It shows that on a Berkeley
  25. system with the Korn shell there are simple methods to create a
  26. menu driven system.  It provides a completely menu driven front-end
  27. for quiz.  See README and Makefile for details.  (Note that quiz.sh,
  28. one of the files, is a sharfile itself.)  If there is real interest
  29. for a man page for quizm (menu-driven quiz), I can write it; a man
  30. page for the system is a whole other story;  I will write it only
  31. if there is sufficient interest.  Note: no compilers are needed,
  32. only the original game of quiz (which is assumed to reside in /usr/games).
  33.  
  34. #! /bin/sh
  35. # This is a shell archive.  Remove anything before this line, then unpack
  36. # it by saving it into a file and typing "sh file".  To overwrite existing
  37. # files, type "sh file -c".  You can also feed this as standard input via
  38. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  39. # will see the following message at the end:
  40. #        "End of archive 1 (of 1)."
  41. # Contents:  README MANIFEST Makefile menusystem quiz.sh
  42. # Wrapped by billr@saab on Tue Mar  1 16:21:37 1988
  43. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  44. if test -f README -a "${1}" != "-c" ; then 
  45.   echo shar: Will not over-write existing file \"README\"
  46. else
  47. echo shar: Extracting \"README\" \(348 characters\)
  48. sed "s/^X//" >README <<'END_OF_README'
  49. XThis set of files provide a menu based interface to quiz.
  50. XThe interface is probably incomplete, but additions are easy to make.
  51. XAlso the response to interrupts is not yet as is should be.
  52. XThey show how you can use the Korn shell to provide a menu system.
  53. XFor more information see the Makefile.
  54. X
  55. Xdik t. winter
  56. Xdik@cwi.nl
  57. X{ dik%cwi.nl@uunet.uu.net }
  58. END_OF_README
  59. if test 348 -ne `wc -c <README`; then
  60.     echo shar: \"README\" unpacked with wrong size!
  61. fi
  62. # end of overwriting check
  63. fi
  64. if test -f MANIFEST -a "${1}" != "-c" ; then 
  65.   echo shar: Will not over-write existing file \"MANIFEST\"
  66. else
  67. echo shar: Extracting \"MANIFEST\" \(264 characters\)
  68. sed "s/^X//" >MANIFEST <<'END_OF_MANIFEST'
  69. X   File Name        Archive #    Description
  70. X-----------------------------------------------------------
  71. X MANIFEST                  1    This shipping list
  72. X Makefile                  1    
  73. X README                    1    
  74. X menusystem                1    
  75. X quiz.sh                   1    
  76. END_OF_MANIFEST
  77. if test 264 -ne `wc -c <MANIFEST`; then
  78.     echo shar: \"MANIFEST\" unpacked with wrong size!
  79. fi
  80. # end of overwriting check
  81. fi
  82. if test -f Makefile -a "${1}" != "-c" ; then 
  83.   echo shar: Will not over-write existing file \"Makefile\"
  84. else
  85. echo shar: Extracting \"Makefile\" \(1177 characters\)
  86. sed "s/^X//" >Makefile <<'END_OF_Makefile'
  87. X# A simple (?) makefile for menu quiz.
  88. X# prerequisites for this to work are:
  89. X# a) Korn shell is present
  90. X# b) insult is present in /usr/games
  91. X#    (if not edit the appropriate lines in menusystem)
  92. X# c) your system allows filenames of arbitrary (eh, well, at least 40
  93. X#    characters) length with embedded spaces and arbitrary other
  94. X#    characters (Berkeley?).
  95. X# You might get it working (with huge modifications) if some (or all)
  96. X# of the preriquisites are not met.  Anyhow, if you do that, this
  97. X# makefile (and the associated files) become null and void.
  98. X#
  99. X# change the following define to get at the destination:
  100. XDEST = /usr/games
  101. X# the following defines the destination of the subfiles (directory):
  102. XDESTLIB = ${DEST}/lib
  103. X# the following define gives the place of the Korn shell:
  104. XKSH = /usr/local/ksh
  105. X
  106. X# the - in front of the test is a kludge because the Bourne shell
  107. X# terminates if the test is false!
  108. Xall:
  109. X    -if test ! -d ${DESTLIB} ; then mkdir ${DESTLIB} ; fi
  110. X    echo ${KSH} -c "'${DESTLIB}/menusystem ${DESTLIB}/Quiz'" >${DEST}/quizm
  111. X    chmod +x ${DEST}/quizm
  112. X    -if test '${DESTLIB}' != `pwd` ; then cp menusystem ${DESTLIB} ; fi
  113. X    SRC=`pwd` ; cd ${DESTLIB} ; sh $$SRC/quiz.sh
  114. END_OF_Makefile
  115. if test 1177 -ne `wc -c <Makefile`; then
  116.     echo shar: \"Makefile\" unpacked with wrong size!
  117. fi
  118. # end of overwriting check
  119. fi
  120. if test -f menusystem -a "${1}" != "-c" ; then 
  121.   echo shar: Will not over-write existing file \"menusystem\"
  122. else
  123. echo shar: Extracting \"menusystem\" \(1044 characters\)
  124. sed "s/^X//" >menusystem <<'END_OF_menusystem'
  125. XO_PWD="$PWD"
  126. XWD="$1"
  127. X# if not an absolute path prepend current directory
  128. Xcase "$WD" in
  129. X/*)    ;;
  130. X*)    WD="$PWD/$WD"
  131. Xesac
  132. Xcd "$WD"
  133. XOWD="$WD"
  134. XTOPLEVEL=0
  135. Xtypeset -i NUM
  136. X# different from trap "" and no trap
  137. Xtrap true 2 19
  138. Xtrap "echo Bye bye ....." 0
  139. Xulimit -c 0
  140. Xwhile true
  141. Xdo
  142. X    NUM=`ls | wc -l | sed 's/ *//'`+1+$TOPLEVEL
  143. X    NPS3="(choose a number from 1 to $NUM or enter RETURN for list) : "
  144. X    if test -f .heading
  145. X    then
  146. X        . .heading
  147. X    else
  148. X        echo Make your choice:
  149. X    fi
  150. X    PS3="? "
  151. X    game=
  152. X    AUX="(stop)"
  153. X    if test $TOPLEVEL = 1
  154. X    then
  155. X        AUX="(return) $AUX"
  156. X    fi
  157. X    select game in * $AUX
  158. X    do
  159. X        if test "$game" != ""
  160. X        then
  161. X            break
  162. X        fi
  163. X        echo
  164. X        if test "$PS3" = "? "
  165. X        then
  166. X            echo Will you PLEASE follow instructions?
  167. X        else
  168. X            /usr/games/insult
  169. X        fi
  170. X        echo
  171. X        PS3="$NPS3"
  172. X    done
  173. X    if test "$game" = "(stop)"
  174. X    then
  175. X        break
  176. X    elif test "$game" = "(return)"
  177. X    then
  178. X        cd ..
  179. X        WD="$PWD"
  180. X        if test "$WD" = "$OWD"
  181. X        then
  182. X            TOPLEVEL=0
  183. X        fi
  184. X    elif test -d "$game"
  185. X    then
  186. X        cd "$game"
  187. X        WD="$WD"/"$game"
  188. X        TOPLEVEL=1
  189. X    else
  190. X        cd $O_PWD
  191. X        . "$WD"/"$game"
  192. X        echo
  193. X        cd "$WD"
  194. X    fi
  195. Xdone
  196. END_OF_menusystem
  197. if test 1044 -ne `wc -c <menusystem`; then
  198.     echo shar: \"menusystem\" unpacked with wrong size!
  199. fi
  200. chmod +x menusystem
  201. # end of overwriting check
  202. fi
  203. if test -f quiz.sh -a "${1}" != "-c" ; then 
  204.   echo shar: Will not over-write existing file \"quiz.sh\"
  205. else
  206. echo shar: Extracting \"quiz.sh\" \(10251 characters\)
  207. sed "s/^X//" >quiz.sh <<'END_OF_quiz.sh'
  208. X#! /bin/sh
  209. X# This is a shell archive, meaning:
  210. X# 1. Remove everything above the #! /bin/sh line.
  211. X# 2. Save the resulting text in a file.
  212. X# 3. Execute the file with /bin/sh (not csh) to create:
  213. X#    Quiz
  214. X# This archive created: Sat Feb 20  0:00:00 1988
  215. Xexport PATH; PATH=/bin:/usr/bin:$PATH
  216. Xif test ! -d 'Quiz'
  217. Xthen
  218. X    mkdir 'Quiz'
  219. Xfi
  220. Xcd 'Quiz'
  221. Xif test ! -d 'Geography'
  222. Xthen
  223. X    mkdir 'Geography'
  224. Xfi
  225. Xcd 'Geography'
  226. Xcat << \SHAR_EOF > 'State -> Flower'
  227. X/usr/games/quiz state flower
  228. XSHAR_EOF
  229. Xcat << \SHAR_EOF > 'African state -> Capital'
  230. X/usr/games/quiz African capital
  231. XSHAR_EOF
  232. Xcat << \SHAR_EOF > 'Asian state -> Capital'
  233. X/usr/games/quiz Asian capital
  234. XSHAR_EOF
  235. Xcat << \SHAR_EOF > 'Capital -> State'
  236. X/usr/games/quiz capital state
  237. XSHAR_EOF
  238. Xcat << \SHAR_EOF > 'Capital -> African state'
  239. X/usr/games/quiz capital African
  240. XSHAR_EOF
  241. Xcat << \SHAR_EOF > 'Capital -> Asian state'
  242. X/usr/games/quiz capital Asian
  243. XSHAR_EOF
  244. Xcat << \SHAR_EOF > 'State -> Capital'
  245. X/usr/games/quiz state capital
  246. XSHAR_EOF
  247. Xcat << \SHAR_EOF > 'State -> Abbreviation'
  248. X/usr/games/quiz state abbreviation
  249. XSHAR_EOF
  250. Xcat << \SHAR_EOF > 'American state -> Capital'
  251. X/usr/games/quiz American capital
  252. XSHAR_EOF
  253. Xcat << \SHAR_EOF > 'European state -> Capital'
  254. X/usr/games/quiz European capital
  255. XSHAR_EOF
  256. Xcat << \SHAR_EOF > 'Middle-Earth state -> Capital'
  257. X/usr/games/quiz Middle-Earth capital
  258. XSHAR_EOF
  259. Xcat << \SHAR_EOF > 'Canadian province -> Capital'
  260. X/usr/games/quiz province capital
  261. XSHAR_EOF
  262. Xcat << \SHAR_EOF > 'Abbreviation -> State'
  263. X/usr/games/quiz abbreviation state
  264. XSHAR_EOF
  265. Xcat << \SHAR_EOF > 'Flower -> State'
  266. X/usr/games/quiz flower state
  267. XSHAR_EOF
  268. Xcat << \SHAR_EOF > '.heading'
  269. Xecho Choose the one you want:
  270. XSHAR_EOF
  271. Xcat << \SHAR_EOF > 'Capital -> American state'
  272. X/usr/games/quiz capital American
  273. XSHAR_EOF
  274. Xcat << \SHAR_EOF > 'Capital -> European state'
  275. X/usr/games/quiz capital European
  276. XSHAR_EOF
  277. Xcat << \SHAR_EOF > 'Capital -> Middle-Earth state'
  278. X/usr/games/quiz capital Middle-Earth
  279. XSHAR_EOF
  280. Xcat << \SHAR_EOF > 'Capital -> Canadian province'
  281. X/usr/games/quiz capital province
  282. XSHAR_EOF
  283. Xcd ..
  284. Xcat << \SHAR_EOF > '.heading'
  285. Xecho Which subject do you want?
  286. XSHAR_EOF
  287. Xif test ! -d 'History'
  288. Xthen
  289. X    mkdir 'History'
  290. Xfi
  291. Xcd 'History'
  292. Xcat << \SHAR_EOF > 'President -> Successor'
  293. X/usr/games/quiz president successor
  294. XSHAR_EOF
  295. Xcat << \SHAR_EOF > 'Inca -> Successor'
  296. X/usr/games/quiz inca successor
  297. XSHAR_EOF
  298. Xcat << \SHAR_EOF > '.heading'
  299. Xecho Choose the one you want:
  300. XSHAR_EOF
  301. Xcat << \SHAR_EOF > 'President -> Term'
  302. X/usr/games/quiz president term
  303. XSHAR_EOF
  304. Xcat << \SHAR_EOF > 'Term -> President'
  305. X/usr/games/quiz term president
  306. XSHAR_EOF
  307. Xcat << \SHAR_EOF > 'Sovereign -> Century'
  308. X/usr/games/quiz sovereign century
  309. XSHAR_EOF
  310. Xcat << \SHAR_EOF > 'Sovereign -> Successor'
  311. X/usr/games/quiz sovereign successor
  312. XSHAR_EOF
  313. Xcd ..
  314. Xif test ! -d 'Mathematics'
  315. Xthen
  316. X    mkdir 'Mathematics'
  317. Xfi
  318. Xcd 'Mathematics'
  319. Xcat << \SHAR_EOF > '.heading'
  320. Xecho Choose the one you want:
  321. XSHAR_EOF
  322. Xcat << \SHAR_EOF > 'Sequence -> Name (hard)'
  323. X/usr/games/quiz hard-sequence name
  324. XSHAR_EOF
  325. Xcat << \SHAR_EOF > 'Sequence -> Next element (easy)'
  326. X/usr/games/quiz easy-sequence next
  327. XSHAR_EOF
  328. Xcat << \SHAR_EOF > 'Sequence -> Name (easy)'
  329. X/usr/games/quiz easy-sequence name
  330. XSHAR_EOF
  331. Xcat << \SHAR_EOF > 'Sequence -> Next element (hard)'
  332. X/usr/games/quiz hard-sequence next
  333. XSHAR_EOF
  334. Xcat << \SHAR_EOF > 'Arithmetic'
  335. X/usr/games/quiz arithmetic answer
  336. XSHAR_EOF
  337. Xcd ..
  338. Xif test ! -d 'Miscellaneous'
  339. Xthen
  340. X    mkdir 'Miscellaneous'
  341. Xfi
  342. Xcd 'Miscellaneous'
  343. Xcat << \SHAR_EOF > 'Startrek'
  344. X/usr/games/quiz star trek
  345. XSHAR_EOF
  346. Xcat << \SHAR_EOF > '.heading'
  347. Xecho Choose the one you want:
  348. XSHAR_EOF
  349. Xcat << \SHAR_EOF > 'Clear -> Morse'
  350. X/usr/games/quiz clear morse
  351. XSHAR_EOF
  352. Xcat << \SHAR_EOF > 'Morse -> Clear'
  353. X/usr/games/quiz morse clear
  354. XSHAR_EOF
  355. Xcat << \SHAR_EOF > 'Chinese year -> Next'
  356. X/usr/games/quiz year next
  357. XSHAR_EOF
  358. Xcat << \SHAR_EOF > 'Function -> ed-command'
  359. X/usr/games/quiz function ed-command
  360. XSHAR_EOF
  361. Xcat << \SHAR_EOF > 'Victim -> Killer'
  362. X/usr/games/quiz victim killer
  363. XSHAR_EOF
  364. Xcat << \SHAR_EOF > 'Killer -> Victim'
  365. X/usr/games/quiz killer victim
  366. XSHAR_EOF
  367. Xcat << \SHAR_EOF > 'Locomotive model -> Name'
  368. X/usr/games/quiz locomotive name
  369. XSHAR_EOF
  370. Xcat << \SHAR_EOF > 'Locomotive name -> Model'
  371. X/usr/games/quiz name locomotive
  372. XSHAR_EOF
  373. Xcat << \SHAR_EOF > 'Description -> Law-section'
  374. X/usr/games/quiz ucc section
  375. XSHAR_EOF
  376. Xcd ..
  377. Xif test ! -d 'Chemistry'
  378. Xthen
  379. X    mkdir 'Chemistry'
  380. Xfi
  381. Xcd 'Chemistry'
  382. Xcat << \SHAR_EOF > 'Symbol -> Element'
  383. X/usr/games/quiz symbol element
  384. XSHAR_EOF
  385. Xcat << \SHAR_EOF > 'Element -> Weight'
  386. X/usr/games/quiz element weight
  387. XSHAR_EOF
  388. Xcat << \SHAR_EOF > 'Number -> Symbol'
  389. X/usr/games/quiz number symbol
  390. XSHAR_EOF
  391. Xcat << \SHAR_EOF > '.heading'
  392. Xecho Choose the one you want:
  393. XSHAR_EOF
  394. Xcat << \SHAR_EOF > 'Symbol -> Number'
  395. X/usr/games/quiz symbol number
  396. XSHAR_EOF
  397. Xcat << \SHAR_EOF > 'Symbol -> Weight'
  398. X/usr/games/quiz symbol weight
  399. XSHAR_EOF
  400. Xcat << \SHAR_EOF > 'Element -> Number'
  401. X/usr/games/quiz element number
  402. XSHAR_EOF
  403. Xcat << \SHAR_EOF > 'Element -> Symbol'
  404. X/usr/games/quiz element symbol
  405. XSHAR_EOF
  406. Xcat << \SHAR_EOF > 'Number -> Element'
  407. X/usr/games/quiz number element
  408. XSHAR_EOF
  409. Xcd ..
  410. Xif test ! -d 'Language'
  411. Xthen
  412. X    mkdir 'Language'
  413. Xfi
  414. Xcd 'Language'
  415. Xcat << \SHAR_EOF > '.heading'
  416. Xecho Choose the one you want:
  417. XSHAR_EOF
  418. Xcat << \SHAR_EOF > 'Greek -> English'
  419. X/usr/games/quiz greek english
  420. XSHAR_EOF
  421. Xcat << \SHAR_EOF > 'Baby -> Adult'
  422. X/usr/games/quiz baby adult
  423. XSHAR_EOF
  424. Xcat << \SHAR_EOF > 'Adult -> Baby'
  425. X/usr/games/quiz adult baby
  426. XSHAR_EOF
  427. Xcat << \SHAR_EOF > 'Positive -> Negative'
  428. X/usr/games/quiz positive negative
  429. XSHAR_EOF
  430. Xcat << \SHAR_EOF > 'Female -> Male'
  431. X/usr/games/quiz female male
  432. XSHAR_EOF
  433. Xcat << \SHAR_EOF > 'Male -> Female'
  434. X/usr/games/quiz male female
  435. XSHAR_EOF
  436. Xcat << \SHAR_EOF > 'Individuals -> Collective'
  437. X/usr/games/quiz individuals collective
  438. XSHAR_EOF
  439. Xcat << \SHAR_EOF > 'Latin -> English'
  440. X/usr/games/quiz latin english
  441. XSHAR_EOF
  442. Xcat << \SHAR_EOF > 'English -> Greek'
  443. X/usr/games/quiz english greek
  444. XSHAR_EOF
  445. Xcat << \SHAR_EOF > 'English -> Latin'
  446. X/usr/games/quiz english latin
  447. XSHAR_EOF
  448. Xcat << \SHAR_EOF > 'Collective -> Individuals'
  449. X/usr/games/quiz collective individuals
  450. XSHAR_EOF
  451. Xcat << \SHAR_EOF > 'Negative -> Positive'
  452. X/usr/games/quiz negative positive
  453. XSHAR_EOF
  454. Xif test ! -d 'Poetry'
  455. Xthen
  456. X    mkdir 'Poetry'
  457. Xfi
  458. Xcd 'Poetry'
  459. Xcat << \SHAR_EOF > '.heading'
  460. Xecho Choose the one you want:
  461. XSHAR_EOF
  462. Xcat << \SHAR_EOF > 'Shakespeare-line -> Next'
  463. X/usr/games/quiz Shakespeare-line next
  464. XSHAR_EOF
  465. Xcat << \SHAR_EOF > 'Line -> Next'
  466. X/usr/games/quiz poemline next
  467. XSHAR_EOF
  468. Xcat << \SHAR_EOF > 'Shakespeare-line -> Character'
  469. X/usr/games/quiz Shakespeare-line character
  470. XSHAR_EOF
  471. Xcat << \SHAR_EOF > 'Shakespeare-line -> Work'
  472. X/usr/games/quiz Shakespeare-line work
  473. XSHAR_EOF
  474. Xcat << \SHAR_EOF > 'Line -> Poem'
  475. X/usr/games/quiz poemline poem
  476. XSHAR_EOF
  477. Xcat << \SHAR_EOF > 'Line -> Author'
  478. X/usr/games/quiz poemline author
  479. XSHAR_EOF
  480. Xcd ..
  481. Xcd ..
  482. Xif test ! -d 'Telecom'
  483. Xthen
  484. X    mkdir 'Telecom'
  485. Xfi
  486. Xcd 'Telecom'
  487. Xcat << \SHAR_EOF > 'Area-code -> City'
  488. X/usr/games/quiz area-code city
  489. XSHAR_EOF
  490. Xcat << \SHAR_EOF > 'Area-code -> State-region'
  491. X/usr/games/quiz area-code state-region
  492. XSHAR_EOF
  493. Xcat << \SHAR_EOF > 'City -> Area-code'
  494. X/usr/games/quiz city area-code
  495. XSHAR_EOF
  496. Xcat << \SHAR_EOF > 'State-region -> Area-code'
  497. X/usr/games/quiz state-region area-code
  498. XSHAR_EOF
  499. Xcat << \SHAR_EOF > '.heading'
  500. Xecho Choose the one you want:
  501. XSHAR_EOF
  502. Xcat << \SHAR_EOF > 'Country-code -> Country'
  503. Xa=country-code
  504. Xb=country
  505. X. $WD/.quiz
  506. XSHAR_EOF
  507. Xcat << \SHAR_EOF > 'Country -> Country-code'
  508. Xa=country
  509. Xb=country-code
  510. X. $WD/.quiz
  511. XSHAR_EOF
  512. Xcat << \SHAR_EOF > '.quiz'
  513. Xecho $WD/.country:country-code:country >/tmp/$$
  514. Xquiz -i /tmp/$$ $a $b
  515. Xrm /tmp/$$
  516. XSHAR_EOF
  517. Xcat << \SHAR_EOF > '.country'
  518. X1:USA and Canada
  519. X20:Egypt
  520. X212:Morocco
  521. X213:Algeria
  522. X216:Tunisia
  523. X218:Libya
  524. X220:The Gambia
  525. X221:Senegal
  526. X222:Mauritania
  527. X223:Mali
  528. X224:Guinea
  529. X225:Ivory Coast
  530. X226:Burkina Fasso|Upper Volta
  531. X227:Niger
  532. X228:Togo
  533. X229:Benin
  534. X230:Mauritius
  535. X231:Liberia
  536. X232:Sierra Leone
  537. X233:Ghana
  538. X234:Nigeria
  539. X235:Chad
  540. X236:Central African Republic
  541. X237:Cameroon
  542. X238:Cape Verde Islands
  543. X239:Sao Tome and Principe Island
  544. X240:Equatorial Guinea
  545. X241:Gabon
  546. X242:Congo
  547. X243:Zaire
  548. X244:Angola
  549. X245:Guinea-Bissau
  550. X247:Ascension Island
  551. X248:Seychelles
  552. X249:Sudan
  553. X250:Rwanda
  554. X251:Ethiopia
  555. X252:Somali
  556. X253:Djibouti
  557. X254:Kenya
  558. X255:Tanzania
  559. X256:Uganda
  560. X257:Burundi
  561. X258:Mozambique
  562. X260:Zambia
  563. X261:Madagascar|Malagasy Republic
  564. X262:Reunion
  565. X263:Zimbabwe
  566. X264:Namibia
  567. X265:Malawi
  568. X266:Lesotho
  569. X267:Botswana
  570. X268:Swaziland
  571. X269:Comoros{ and Mayotte}
  572. X27:South Africa
  573. X297:Aruba
  574. X298:Faeroe Islands
  575. X299:Greenland
  576. X30:Greece
  577. X31:Netherlands
  578. X32:Belgium
  579. X33:France
  580. X33078:Andorra
  581. X3393:Monaco
  582. X34:Spain
  583. X350:Gibraltar
  584. X351:Portugal
  585. X352:Luxembourg
  586. X353:Ireland
  587. X354:Iceland
  588. X355:Albania
  589. X356:Malta
  590. X357:Cyprus
  591. X358:Finland
  592. X359:Bulgaria
  593. X36:Hungary
  594. X37:German Democratic Republic
  595. X38:Yugoslavia
  596. X39:Italy
  597. X39541:San Marino
  598. X396:Vatican City
  599. X40:Rumania
  600. X41:Switzerland
  601. X4175:Liechtenstein
  602. X42:Czechoslovakia
  603. X43:Austria
  604. X44:United Kingdom
  605. X45:Denmark
  606. X46:Sweden
  607. X47:Norway
  608. X48:Poland
  609. X49:Federal Republic of Germany
  610. X501:Belize
  611. X502:Guatemala
  612. X503:El Salvador
  613. X504:Honduras
  614. X505:Nicaragua
  615. X506:Costa Rica
  616. X507:Panama
  617. X508:St. Pierre et Miquelon
  618. X509:Haiti
  619. X51:Peru
  620. X52:Mexico
  621. X53:Cuba
  622. X5399:Guantanamo Bay US Naval Base
  623. X54:Argentina
  624. X55:Brazil
  625. X56:Chile
  626. X57:Colombia
  627. X58:Venezuela
  628. X590:Guadeloupe
  629. X591:Bolivia
  630. X592:Guyana
  631. X593:Ecuador
  632. X594:French Guiana
  633. X595:Paraguay
  634. X596:St. Barthelemy, Martinique, St. Martin
  635. X597:Surinam
  636. X598:Uruguay
  637. X599:Netherlands Antilles
  638. X60:Malaysia
  639. X61:Australia
  640. X62:Indonesia
  641. X63:Phillippines
  642. X64:New Zealand
  643. X65:Singapore
  644. X66:Thailand
  645. X670:Mariana Island|Saipan
  646. X671:Guam
  647. X672:Timor
  648. X673:Brunei
  649. X674:Nauru
  650. X675:Papua New Guinea
  651. X676:Tonga
  652. X677:Solomon Islands
  653. X678:Vanatu|New Hebrides
  654. X679:Fiji
  655. X681:Wallis and Futuna
  656. X682:Cook Island
  657. X683:Niue
  658. X684:Samoa (US)
  659. X685:West Samoa
  660. X686:Gilbert and Ellice Islands
  661. X687:New Caledonia
  662. X688:Tuvalu
  663. X689:French Polynesia
  664. X691:Micronesia
  665. X692:Marshall Islands
  666. X7:Sovjet Union
  667. X81:Japan
  668. X82:South Korea
  669. X84:Viet Nam
  670. X852:Hong Kong
  671. X853:Macao
  672. X855:Kampuchea|Khmer Republic
  673. X856:Lao|Laos
  674. X86:China
  675. X880:Bangla Desh
  676. X886:Taiwan
  677. X90:Turkey
  678. X91:India
  679. X92:Pakistan
  680. X93:Afghanistan
  681. X94:Sri Lanka
  682. X95:Burma
  683. X960:Maldive Islands
  684. X961:Lebanon
  685. X962:Jordan
  686. X963:Syria
  687. X964:Iraq
  688. X965:Kuwait
  689. X966:Saudi Arabia
  690. X967:Yemen Arab Republic
  691. X968:Oman
  692. X969:Yemen
  693. X971:United Arabian Republics
  694. X972:Israel
  695. X973:Bahrein
  696. X974:Qatar
  697. X976:Mongolia
  698. X977:Nepal
  699. X98:Iran
  700. XSHAR_EOF
  701. Xcd ..
  702. Xcd ..
  703. Xexit 0
  704. X#    End of shell archive
  705. END_OF_quiz.sh
  706. if test 10251 -ne `wc -c <quiz.sh`; then
  707.     echo shar: \"quiz.sh\" unpacked with wrong size!
  708. fi
  709. # end of overwriting check
  710. fi
  711. echo shar: End of archive 1 \(of 1\).
  712. cp /dev/null ark1isdone
  713. MISSING=""
  714. for I in 1 ; do
  715.     if test ! -f ark${I}isdone ; then
  716.     MISSING="${MISSING} ${I}"
  717.     fi
  718. done
  719. if test "${MISSING}" = "" ; then
  720.     echo You have unpacked all 1 archives.
  721.     echo Now type 'sh quiz.sh'
  722.     rm -f ark[1-9]isdone
  723. else
  724.     echo You still need to unpack the following archives:
  725.     echo "        " ${MISSING}
  726. fi
  727. ##  End of shell archive.
  728. exit 0
  729.  
  730.  
  731.