diff options
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 12c46b14f..af02608f0 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c | |||
@@ -6,17 +6,25 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) | ||
10 | * | ||
11 | * Major size reduction... over 50% (>1.5k) on i386. | ||
12 | */ | ||
13 | //config:config CAL | ||
14 | //config: bool "cal" | ||
15 | //config: default y | ||
16 | //config: help | ||
17 | //config: cal is used to display a monthly calendar. | ||
18 | |||
19 | //applet:IF_CAL(APPLET(cal, BB_DIR_USR_BIN, BB_SUID_DROP)) | ||
20 | |||
21 | //kbuild:lib-$(CONFIG_CAL) += cal.o | ||
9 | 22 | ||
10 | /* BB_AUDIT SUSv3 compliant with -j and -y extensions (from util-linux). */ | 23 | /* BB_AUDIT SUSv3 compliant with -j and -y extensions (from util-linux). */ |
11 | /* BB_AUDIT BUG: The output of 'cal -j 1752' is incorrect. The upstream | 24 | /* BB_AUDIT BUG: The output of 'cal -j 1752' is incorrect. The upstream |
12 | * BB_AUDIT BUG: version in util-linux seems to be broken as well. */ | 25 | * BB_AUDIT BUG: version in util-linux seems to be broken as well. */ |
13 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/cal.html */ | 26 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/cal.html */ |
14 | 27 | ||
15 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) | ||
16 | * | ||
17 | * Major size reduction... over 50% (>1.5k) on i386. | ||
18 | */ | ||
19 | |||
20 | //usage:#define cal_trivial_usage | 28 | //usage:#define cal_trivial_usage |
21 | //usage: "[-jy] [[MONTH] YEAR]" | 29 | //usage: "[-jy] [[MONTH] YEAR]" |
22 | //usage:#define cal_full_usage "\n\n" | 30 | //usage:#define cal_full_usage "\n\n" |