User Tools

Site Tools


haas:spring2018:unix:projects:upf0

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
haas:spring2018:unix:projects:upf0 [2018/02/25 22:17] – [Submission] wedgehaas:spring2018:unix:projects:upf0 [2018/02/28 20:26] (current) – [numbers suite] wedge
Line 50: Line 50:
   * pipemath-20170201-09.tar.gz   * pipemath-20170201-09.tar.gz
  
-You would select the "20170201-09" one, because the date it encodes (Feb 1st, 2017 at 9am) is the most recent in that group. You will find this to be a common practice with many software projects on the internet.+From visual inspection, you would select the "20170201-09" one, because the date it encodes (Feb 1st, 2017 at 9am) is the most recent in that group. You will find this to be a common practice with many software projects on the internet
 + 
 +Note, however, that visual inspection alone is not good enough for your steps file. New versions may be released, and your steps file needs to obtain the most recent version available. To facilitate this task, the latest and greatest version of pipemath will be listed in a file called LATEST (which you should see near the top of the directory index listing). You can make use of this file to assist you in automating the process of determining and downloading the latest version of the pipemath tools.
  
 Once those two steps are complete, you can begin on the tasks listed in your **TASK** file. Once those two steps are complete, you can begin on the tasks listed in your **TASK** file.
  
 ====numbers suite==== ====numbers suite====
-The numbers suite is basically a collection of command-line tools whose purpose is to display a single digit number, in accordance with the tools name.+The numbers suite is basically a collection of command-line tools whose purpose is to display a single digit number, in accordance with the tool'name.
  
 For example, when you run the **zero** tool, a **0** is displayed to STDOUT. For **one**, a **1** is displayed to STDOUT. And so on up through **nine**. For example, when you run the **zero** tool, a **0** is displayed to STDOUT. For **one**, a **1** is displayed to STDOUT. And so on up through **nine**.
Line 157: Line 159:
       * where # is the calculated output matching the TASK file result requested (ie, you must run your task#.cli script to produce this output).       * where # is the calculated output matching the TASK file result requested (ie, you must run your task#.cli script to produce this output).
         * note that the task#.cli output appears on the SAME line as the "Task X result is:" text, and there is a single space separating it from the colon.         * note that the task#.cli output appears on the SAME line as the "Task X result is:" text, and there is a single space separating it from the colon.
 +  * additionally, your upf0steps file will only create, alter files if run by you. If run by a user who is not you, skip the file manipulation and only output the results.
 +  * you will be making use of a loop to drive the execution of your results (the "Task # result is: ...").
  
 For example, a sample output of your **upf0steps** script should appear like follows (but your # values will of course be different based on your individual **TASK** file): For example, a sample output of your **upf0steps** script should appear like follows (but your # values will of course be different based on your individual **TASK** file):
Line 198: Line 202:
 *:upf0:upf0steps has valid list of non-interactive instructions [4/4] *:upf0:upf0steps has valid list of non-interactive instructions [4/4]
 *:upf0:upf0steps only copies/alters files if USER matches [4/4] *:upf0:upf0steps only copies/alters files if USER matches [4/4]
-*:upf0:upf0steps builds the various task#.cli files [4/4] +*:upf0:upf0steps builds the various task#.cli files it runs [4/4] 
-*:upf0:upf0steps squelches any STDERR output [4/4]+*:upf0:upf0steps obtains the latest pipemath release from site [4/4]
 *:upf0:upf0steps only displays specified STDOUT output [4/4] *:upf0:upf0steps only displays specified STDOUT output [4/4]
 *:upf0:upf0steps resiliently creates local project directory [4/4] *:upf0:upf0steps resiliently creates local project directory [4/4]
Line 205: Line 209:
 *:upf0:upf0steps makes clear, effective use of wildcards [4/4] *:upf0:upf0steps makes clear, effective use of wildcards [4/4]
 *:upf0:upf0steps has descriptive why and how comments [4/4] *:upf0:upf0steps has descriptive why and how comments [4/4]
 +*:upf0:upf0steps indentation used to promote scope and clarity [2/2]
 *:upf0:upf0steps defines and uses custom variables [4/4] *:upf0:upf0steps defines and uses custom variables [4/4]
-*:upf0:upf0steps uses command expansions [4/4]+*:upf0:upf0steps uses command expansions to get information [4/4]
 *:upf0:upf0steps uses a loop to drive numbers in final output [4/4] *:upf0:upf0steps uses a loop to drive numbers in final output [4/4]
 *:upf0:upf0steps automates the task when run [4/4] *:upf0:upf0steps automates the task when run [4/4]
-*:upf0:all files are organized, clear, and easy to read [2/2+*:upf0:all files are organized, clear, and easy to read [4/4
-*:upf0:task#.cli files produce correct output [4/4]+*:upf0:task#.cli files output only correct, specified data [4/4]
 *:upf0:task#.cli files use specified number tools by quantity [4/4] *:upf0:task#.cli files use specified number tools by quantity [4/4]
-*:upf0:task#.cli files squelch any STDERR output [4/4] +*:upf0:task#.cli files display no STDERR output [4/4]
-*:upf0:task#.cli files only display specified STDOUT output [4/4]+
 *:upf0:task#.cli files have solution within given constraints [4/4] *:upf0:task#.cli files have solution within given constraints [4/4]
 *:upf0:task#.cli files only have the solution command-line [4/4] *:upf0:task#.cli files only have the solution command-line [4/4]
 </code> </code>
haas/spring2018/unix/projects/upf0.1519597068.txt.gz · Last modified: 2018/02/25 22:17 by wedge