Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/coreutils/sum.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/coreutils/sum.c
r2725 r3232 13 13 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 14 14 */ 15 16 //usage:#define sum_trivial_usage 17 //usage: "[-rs] [FILE]..." 18 //usage:#define sum_full_usage "\n\n" 19 //usage: "Checksum and count the blocks in a file\n" 20 //usage: "\n -r Use BSD sum algorithm (1K blocks)" 21 //usage: "\n -s Use System V sum algorithm (512byte blocks)" 15 22 16 23 #include "libbb.h" … … 88 95 } else { 89 96 /* Need to print the name if either 90 91 97 * - more than one file given 98 * - doing sysv */ 92 99 type += (argv[1] || type == SUM_SYSV); 93 100 n = 1;
Note:
See TracChangeset
for help on using the changeset viewer.