wget
to download the file at http://cs.longwood.edu/courses/cmsc160/f17/files/lab11.tgz
tar -xvzf lab11.tgz
ls
to see that there is a new directory called lab11
cd lab11
to change directory to the lab11 directory
In your lab11 directory is a subdirectory of .map files. These files contain svg shapes for each county and city in the commonwealth of Virginia. There is a text file in the subdirectory called index.txt
. This file contains the file name for each .map file in the directory. You need to open each file and write its' contents to a single output file named virginia.svg
. You will surround each .map file with a starting <g fill="rgb(128,128,128)" stroke="rgb(0,0,0)" stroke-width="24">
and a closing </g>
.
Each time you run your program you will want to copy your virginia.svg
to your public_html
directory. You can do this with the following command:
make copy
Your output should look something like this.
Your completed lab is due on Nov. 14th at 11:59pm. It should be handed in by using the make handin command.