User Tools

Site Tools


notes:sysprog:projects:wut1

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
notes:sysprog:projects:wut1 [2018/01/30 21:07] – [twoscomp.c] wedgenotes:sysprog:projects:wut1 [2018/02/13 19:25] (current) – [command-line arguments] wedge
Line 15: Line 15:
 All of the programs should accept the following command-line arguments (check for program-specific additional ones as well in the appropriate section): All of the programs should accept the following command-line arguments (check for program-specific additional ones as well in the appropriate section):
  
-  * **-h/-?** display usage information and exit+  * **-h** display usage information and exit
   * **-V** display version information and exit   * **-V** display version information and exit
   * **-s "STRING"** specify STRING as value to process   * **-s "STRING"** specify STRING as value to process
Line 116: Line 116:
    synopsis: checksum [OPTION]... [FILE]...    synopsis: checksum [OPTION]... [FILE]...
  
-    execute: checksum --s "de ad be ef" +    execute: checksum -b 16 -s "de ad be ef" 
-         or: echo "de ad be ef" | checksum -H+         or: echo "de ad be ef" | checksum -b 16
 </code> </code>
  
Line 192: Line 192:
  
 <code> <code>
-rotate.c   - program to apply perform a bit rotate+rotate.c   - program to perform a bit rotate
              against a set of input values.              against a set of input values.
  
notes/sysprog/projects/wut1.1517346441.txt.gz · Last modified: 2018/01/30 21:07 by wedge