This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2018:unix:projects:upf1 [2018/03/07 16:37] – [Process] wedge | haas:spring2018:unix:projects:upf1 [2018/03/17 12:59] (current) – [Process] wedge | ||
---|---|---|---|
Line 8: | Line 8: | ||
=====Errata===== | =====Errata===== | ||
- | * any bugfixes or project updates will be posted here | + | * revision: unittools now all list **-I** argument (input delimiter) on help; **hm2Dm** link should also connect correctly (20180308) |
=====Objective===== | =====Objective===== | ||
Line 73: | Line 73: | ||
The tools by default expect input via STDIN, and will output to STDOUT. | The tools by default expect input via STDIN, and will output to STDOUT. | ||
- | These tools have command-line arguments which can alter their default behavior. You may want to review the options and defaults. | + | These tools have command-line arguments which can alter their default behavior. You may want to review the options and defaults |
=====Process===== | =====Process===== | ||
Line 117: | Line 117: | ||
<cli> | <cli> | ||
lab46: | lab46: | ||
- | 35.000 cm >> 13.780 in >> 1.148 ft | + | 35.000cm >> 13.780in >> 1.148ft |
lab46: | lab46: | ||
</ | </ | ||
Line 133: | Line 133: | ||
* your script should not produce ANY STDERR output | * your script should not produce ANY STDERR output | ||
* your script should ONLY produce STDOUT output in conformance with the below stated requirements. Any other output needs to be silenced. | * your script should ONLY produce STDOUT output in conformance with the below stated requirements. Any other output needs to be silenced. | ||
+ | * You will want one unified command-line producing the end result, not separate one-step transitions. The idea is to utilize pipes. | ||
+ | * semi-colons used to separate commands do not constitute one command-line, | ||
* For each task, you'll want to display things as follows: | * For each task, you'll want to display things as follows: | ||
* "Task X conversion chain: CHAIN" | * "Task X conversion chain: CHAIN" | ||
Line 138: | Line 140: | ||
* where CHAIN is the conversion chain output matching the TASK file result requested (ie, you must run your task#.cli script to produce this output). | * where CHAIN is the conversion chain 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 conversion chain:" | * note that the task#.cli output appears on the SAME line as the "Task X conversion chain:" | ||
- | * note there is no space between value and unit | + | * there is NO space between value and unit |
For example, a sample output of your **upf1steps** 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 **upf1steps** script should appear like follows (but your # values will of course be different based on your individual **TASK** file): | ||
Line 189: | Line 191: | ||
*: | *: | ||
*: | *: | ||
- | *: | + | *: |
*: | *: | ||
*: | *: | ||
- | *: | + | *: |
</ | </ | ||