This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2018:unix:projects:upf0 [2018/02/25 22:17] – [Submission] wedge | haas: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 " | + | From visual inspection, you would select the " |
+ | |||
+ | 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' |
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, | ||
+ | * 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: | ||
*: | *: | ||
*: | *: | ||
- | *: | + | *: |
- | *: | + | *: |
*: | *: | ||
*: | *: | ||
Line 205: | Line 209: | ||
*: | *: | ||
*: | *: | ||
+ | *: | ||
*: | *: | ||
- | *: | + | *: |
*: | *: | ||
*: | *: | ||
- | *:upf0:all files are organized, clear, and easy to read [2/2] | + | *:upf0:all files are organized, clear, and easy to read [4/4] |
- | *: | + | *: |
*: | *: | ||
- | *: | + | *: |
- | *: | + | |
*: | *: | ||
*: | *: | ||
</ | </ |