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/02/06 17:03] – [rotate.c] ahought2notes: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>
  
notes/sysprog/projects/wut1.1517936599.txt.gz · Last modified: 2018/02/06 17:03 by ahought2