User Tools

Site Tools


haas:spring2018:unix:projects:gfo0

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:gfo0 [2018/03/21 14:52] – [Submit] wedgehaas:spring2018:unix:projects:gfo0 [2018/04/09 15:19] (current) – [Submit] wedge
Line 219: Line 219:
   * When all is said and done, you will submit your script, which:   * When all is said and done, you will submit your script, which:
     * runs the **status** tool and creates a snapshot of its output. Have your script process this snapshot vs. running **status** 20 million times during the run of your script (the data may change over time, but it isn't going to change that fast- cache the output to improve performance).     * runs the **status** tool and creates a snapshot of its output. Have your script process this snapshot vs. running **status** 20 million times during the run of your script (the data may change over time, but it isn't going to change that fast- cache the output to improve performance).
 +      * if an existing file is given on the command-line ($1), use that as your cached status file in your processing.
     * should be an organized presentation of the requested information as specified above.     * should be an organized presentation of the requested information as specified above.
       * spacing is important. I want to see column justification just like in my examples above.       * spacing is important. I want to see column justification just like in my examples above.
Line 230: Line 231:
       * see how this bulleted list is consistent and indented?       * see how this bulleted list is consistent and indented?
     * no line exceeds 80 characters in width (inclusive of terminating newline).     * no line exceeds 80 characters in width (inclusive of terminating newline).
 +    * all custom variable names must be at least 4 symbols in length
 +    * top-level score/total values are verified by evaluating line item values
     * makes use of selection constructs (if statements, case statements, conditional chaining)     * makes use of selection constructs (if statements, case statements, conditional chaining)
     * makes use of looping constructs (the for and while loops we've been playing with)     * makes use of looping constructs (the for and while loops we've been playing with)
Line 273: Line 276:
  
 <code> <code>
-78:pwn0:final tally of results (78/78) +78:gfo0:final tally of results (78/78) 
-*:gfo0:gfo0.sh on help displays informative usage and exits [4/4]+*:gfo0:gfo0.sh only uses cached status tool output when run [4/4]
 *:gfo0:gfo0.sh effectively utilizes variables in operations [4/4] *:gfo0:gfo0.sh effectively utilizes variables in operations [4/4]
 *:gfo0:gfo0.sh effectively utilizes command expansions [4/4] *:gfo0:gfo0.sh effectively utilizes command expansions [4/4]
Line 281: Line 284:
 *:gfo0:gfo0.sh effectively utilizes looping structures [4/4] *:gfo0:gfo0.sh effectively utilizes looping structures [4/4]
 *:gfo0:gfo0.sh effectively utilizes functions in script [4/4] *:gfo0:gfo0.sh effectively utilizes functions in script [4/4]
 +*:gfo0:gfo0.sh effectively utilizes arrays in script [4/4]
 *:gfo0:gfo0.sh is a proper bash script with shabang and exit [4/4] *:gfo0:gfo0.sh is a proper bash script with shabang and exit [4/4]
-*:gfo0:gfo0.sh parses command-line arguments as appropriate [4/4] +*:gfo0:gfo0.sh accurately displays values in consistent alignment [4/4] 
-*:gfo0:gfo0.sh accurately displays values in proper alignment [4/4] +*:gfo0:gfo0.sh accurately displays values in pertinent categories [4/4] 
-*:gfo0:gfo0.sh accurately displays values in requested bases [4/4] +*:gfo0:gfo0.sh accurately displays values based on current data [4/4] 
-*:gfo0:gfo0.sh accurately displays values in specified range [4/4] +*:gfo0:gfo0.sh use a status output cache file on given argument [4/4] 
-*:gfo0:gfo0.sh range logic flexibly works forward and reverse [4/4] +*:gfo0:gfo0.sh verifies score and total against detail line items [4/4] 
-*:gfo0:gfo0.sh iterates as appropriate in given scenarios [4/4] +*:gfo0:gfo0.sh no line exceeds 80 characters in total length [4/4]
-*:gfo0:gfo0.sh no line exceeds 80 characters [4/4]+
 *:gfo0:gfo0.sh all custom variable name lengths at least 4 symbols [4/4] *:gfo0:gfo0.sh all custom variable name lengths at least 4 symbols [4/4]
 *:gfo0:gfo0.sh properly manages input violations [4/4] *:gfo0:gfo0.sh properly manages input violations [4/4]
Line 298: Line 301:
   * Solutions not abiding by spirit of project will be subject to a 25% overall deduction   * Solutions not abiding by spirit of project will be subject to a 25% overall deduction
   * Solutions not utilizing descriptive why and how comments will be subject to a 25% overall deduction   * Solutions not utilizing descriptive why and how comments will be subject to a 25% overall deduction
 +    * comments should be consistent in appearance (adopt a style; one that promotes readability)
   * Solutions not utilizing indentation to promote scope and clarity will be subject to a 25% overall deduction   * Solutions not utilizing indentation to promote scope and clarity will be subject to a 25% overall deduction
 +    * indentation should be no fewer than 3 spaces (or 3-space tabs); I prefer 4.
haas/spring2018/unix/projects/gfo0.1521643962.txt.gz · Last modified: 2018/03/21 14:52 by wedge