diff options
Diffstat (limited to 'coreutils/tac.c')
-rw-r--r-- | coreutils/tac.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/coreutils/tac.c b/coreutils/tac.c index 94d669de1..ca5617c83 100644 --- a/coreutils/tac.c +++ b/coreutils/tac.c | |||
@@ -1,20 +1,26 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * tac implementation for busybox | 3 | * tac implementation for busybox |
4 | * tac - concatenate and print files in reverse | ||
4 | * | 5 | * |
5 | * Copyright (C) 2003 Yang Xiaopeng <yxp at hanwang.com.cn> | 6 | * Copyright (C) 2003 Yang Xiaopeng <yxp at hanwang.com.cn> |
6 | * Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> | 7 | * Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> |
7 | * Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it> | 8 | * Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it> |
8 | * | 9 | * |
9 | * Licensed under GPLv2, see file LICENSE in this source tree. | 10 | * Licensed under GPLv2, see file LICENSE in this source tree. |
10 | * | ||
11 | */ | 11 | */ |
12 | |||
13 | /* tac - concatenate and print files in reverse */ | ||
14 | |||
15 | /* Based on Yang Xiaopeng's (yxp at hanwang.com.cn) patch | 12 | /* Based on Yang Xiaopeng's (yxp at hanwang.com.cn) patch |
16 | * http://www.uclibc.org/lists/busybox/2003-July/008813.html | 13 | * http://www.uclibc.org/lists/busybox/2003-July/008813.html |
17 | */ | 14 | */ |
15 | //config:config TAC | ||
16 | //config: bool "tac" | ||
17 | //config: default y | ||
18 | //config: help | ||
19 | //config: tac is used to concatenate and print files in reverse. | ||
20 | |||
21 | //applet:IF_TAC(APPLET_NOEXEC(tac, tac, BB_DIR_USR_BIN, BB_SUID_DROP, tac)) | ||
22 | |||
23 | //kbuild:lib-$(CONFIG_TAC) += tac.o | ||
18 | 24 | ||
19 | //usage:#define tac_trivial_usage | 25 | //usage:#define tac_trivial_usage |
20 | //usage: "[FILE]..." | 26 | //usage: "[FILE]..." |