Mercurial > hg > toybox
comparison toys/cksum.c @ 447:0cc0c0e879d1
Correct cksum parameters and clarify -N option
author | Elie De Brauwer <eliedebrauwer@gmail.com> |
---|---|
date | Sat, 11 Feb 2012 13:48:04 +0100 |
parents | a4c26369ec43 |
children |
comparison
equal
deleted
inserted
replaced
446:b51faa4fe8e6 | 447:0cc0c0e879d1 |
---|---|
10 | 10 |
11 config CKSUM | 11 config CKSUM |
12 bool "cksum" | 12 bool "cksum" |
13 default y | 13 default y |
14 help | 14 help |
15 usage: cksum [-FL] [file...] | 15 usage: cksum [-IPLN] [file...] |
16 | 16 |
17 For each file, output crc32 checksum value, length and name of file. | 17 For each file, output crc32 checksum value, length and name of file. |
18 If no files listed, copy from stdin. Filename "-" is a synonym for stdin. | 18 If no files listed, copy from stdin. Filename "-" is a synonym for stdin. |
19 | 19 |
20 -L Little endian (defaults to big endian) | 20 -L Little endian (defaults to big endian) |
21 -P Pre-inversion | 21 -P Pre-inversion |
22 -I Skip post-inversion | 22 -I Skip post-inversion |
23 -N No length | 23 -N Do not include length in CRC calculation |
24 */ | 24 */ |
25 | 25 |
26 #include "toys.h" | 26 #include "toys.h" |
27 | 27 |
28 DEFINE_GLOBALS( | 28 DEFINE_GLOBALS( |