diff options
Diffstat (limited to 'sort.c')
-rw-r--r-- | sort.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -29,16 +29,6 @@ | |||
29 | #include <stdio.h> | 29 | #include <stdio.h> |
30 | #include <errno.h> | 30 | #include <errno.h> |
31 | 31 | ||
32 | static const char sort_usage[] = "sort [-n]" | ||
33 | #ifdef BB_FEATURE_SORT_REVERSE | ||
34 | " [-r]" | ||
35 | #endif | ||
36 | " [FILE]...\n" | ||
37 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
38 | "\nSorts lines of text in the specified files\n" | ||
39 | #endif | ||
40 | ; | ||
41 | |||
42 | #ifdef BB_FEATURE_SORT_REVERSE | 32 | #ifdef BB_FEATURE_SORT_REVERSE |
43 | #define APPLY_REVERSE(x) (reverse ? -(x) : (x)) | 33 | #define APPLY_REVERSE(x) (reverse ? -(x) : (x)) |
44 | static int reverse = 0; | 34 | static int reverse = 0; |
@@ -304,4 +294,4 @@ int sort_main(int argc, char **argv) | |||
304 | return(0); | 294 | return(0); |
305 | } | 295 | } |
306 | 296 | ||
307 | /* $Id: sort.c,v 1.19 2000/07/14 01:51:25 kraai Exp $ */ | 297 | /* $Id: sort.c,v 1.20 2000/07/16 20:57:15 kraai Exp $ */ |