diff options
| author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-01-06 01:14:56 +0000 |
|---|---|---|
| committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-01-06 01:14:56 +0000 |
| commit | daea06353d296eac62e185d352e527cc26f7955d (patch) | |
| tree | 0ba2aae5bd583c7caeaa6a26debba563ad4ef4f4 | |
| parent | 3becb0b7ea62ece4e15e11780b58a48385b6a7b9 (diff) | |
| download | busybox-w32-daea06353d296eac62e185d352e527cc26f7955d.tar.gz busybox-w32-daea06353d296eac62e185d352e527cc26f7955d.tar.bz2 busybox-w32-daea06353d296eac62e185d352e527cc26f7955d.zip | |
Cool. Beppu is doing uniq.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@281 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | coreutils/uniq.c | 5 | ||||
| -rw-r--r-- | uniq.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/coreutils/uniq.c b/coreutils/uniq.c index 7e78be390..251cf2dec 100644 --- a/coreutils/uniq.c +++ b/coreutils/uniq.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Mini sort implementation for busybox | 2 | * Mini uniq implementation for busybox |
| 3 | * | 3 | * |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 1999 by Lineo, inc. | 5 | * Copyright (C) 1999 by Lineo, inc. |
| @@ -141,6 +141,7 @@ uniq_main(int argc, char **argv) | |||
| 141 | if (argv[i][0] == '-') { | 141 | if (argv[i][0] == '-') { |
| 142 | opt = argv[i][1]; | 142 | opt = argv[i][1]; |
| 143 | switch (opt) { | 143 | switch (opt) { |
| 144 | case '-': | ||
| 144 | case 'h': | 145 | case 'h': |
| 145 | usage(uniq_usage); | 146 | usage(uniq_usage); |
| 146 | default: | 147 | default: |
| @@ -154,4 +155,4 @@ uniq_main(int argc, char **argv) | |||
| 154 | exit(0); | 155 | exit(0); |
| 155 | } | 156 | } |
| 156 | 157 | ||
| 157 | /* $Id: uniq.c,v 1.1 2000/01/06 00:48:21 beppu Exp $ */ | 158 | /* $Id: uniq.c,v 1.2 2000/01/06 01:14:56 erik Exp $ */ |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Mini sort implementation for busybox | 2 | * Mini uniq implementation for busybox |
| 3 | * | 3 | * |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 1999 by Lineo, inc. | 5 | * Copyright (C) 1999 by Lineo, inc. |
| @@ -141,6 +141,7 @@ uniq_main(int argc, char **argv) | |||
| 141 | if (argv[i][0] == '-') { | 141 | if (argv[i][0] == '-') { |
| 142 | opt = argv[i][1]; | 142 | opt = argv[i][1]; |
| 143 | switch (opt) { | 143 | switch (opt) { |
| 144 | case '-': | ||
| 144 | case 'h': | 145 | case 'h': |
| 145 | usage(uniq_usage); | 146 | usage(uniq_usage); |
| 146 | default: | 147 | default: |
| @@ -154,4 +155,4 @@ uniq_main(int argc, char **argv) | |||
| 154 | exit(0); | 155 | exit(0); |
| 155 | } | 156 | } |
| 156 | 157 | ||
| 157 | /* $Id: uniq.c,v 1.1 2000/01/06 00:48:21 beppu Exp $ */ | 158 | /* $Id: uniq.c,v 1.2 2000/01/06 01:14:56 erik Exp $ */ |
