User Tools

Site Tools


course_outline

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
course_outline [2014/07/15 17:38] pawlukcourse_outline [2014/08/05 17:00] (current) pawluk
Line 100: Line 100:
 ===== Week 11 ===== ===== Week 11 =====
 === Lecture === === Lecture ===
-* [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/slides/lecture10.pdf|Shell-advanced]]+  * [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/slides/lecture10.pdf|Shell-advanced]]
  
  
 === Lab === === Lab ===
-* [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/lab/lab_ex9.pdf|Spec]] +  * [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/lab/lab_ex9.pdf|Spec]] 
-* [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/lab/lab/test.prn|Data]]+  * [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/lab/test.prn|Data]] 
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/sample.awk|Sample]] 
 + 
 +== Solutions == 
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/lab11.awk|AWK]] 
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/lab11.sh|sh script]] 
 + 
 +To test your solution with AWK use the following command: 
 + 
 +''awk -f lab11.awk test.prn'' 
 + 
 +**submit your AWK solution using the following command:** 
 + 
 +''submit 2031 lab11 lab11.awk'' 
 + 
 + 
 +**NOTE:** Try to do the same thing with grep and other tools in sh 
 + 
 +**If you have your shell solution use:** 
 + 
 +''submit 2031 lab11 lab11.sh'' 
 + 
  
 ===== Week 12 ===== ===== Week 12 =====
Line 112: Line 134:
  
  
-=== Lab === 
  
 +==== Labtest 2 ====
 +July 22 and July 23 in the lab
  
 +== Labtest info ==
 +You will be provided with small tasks and asked to write one or two shell scripts and one AWK script. You should review the work from lab and try to write some scripts such as 
 +  * merging and joining files, 
 +  * finding certain files in the system (using ls, grep, cut and pipes), 
 +  * searching for and extracting information from semi-structured files (e.g. removing tags from html file using shell script, finding data in CSV files)
 +  * using AWK to process the file and print it in a specified format
  
-===== Labtest 2 ===== +You will be able to use ''man'' pages during the labtest. Also your submissions will be available to you. 
-July 22 and July 23 in the lab+
  
 +__It is closed-book exam.__ You can have a clean sheet of paper and a pen/pencil with you. 
  
 +
 +== Solutions ==
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/myAvg.awk|AWK]]
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/mergeFile.sh|Merge Files]] (this the simpler way that, more complex is following the same scheme that you have in Join Files and modifying the echo accordingly)
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/joinFiles.sh|Join Files]]
 +  * [[http://www.eecs.yorku.ca/course_archive/2013-14/S/2031/homeSearch.sh|Search (swap '\.' and 't' to have name ending with t or extension starting with t]]
 ===== Week 13 ===== ===== Week 13 =====
  
Line 125: Line 160:
 Review will be held during our last lecture Review will be held during our last lecture
 Last day of classes is July 29 2014 Last day of classes is July 29 2014
 +  * [[http://www.eecs.yorku.ca/course_archive/2009-10/S/2031/slides/lecture12-notes.pdf|Slides]]
 +
 +Skip the slides about testing
  
 ===== Final Exam ===== ===== Final Exam =====
 +The final test will be held on **Thursday, August 7, 2014**
 +at **9:00 AM** in **LSB 106**
course_outline.1405445905.txt.gz · Last modified: 2014/07/15 17:38 by pawluk

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki