Cool. Beppu is doing uniq.
-Erik
This commit is contained in:
parent
abb4772b28
commit
0b874ed41f
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Mini sort implementation for busybox
|
* Mini uniq implementation for busybox
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999 by Lineo, inc.
|
* Copyright (C) 1999 by Lineo, inc.
|
||||||
@ -141,6 +141,7 @@ uniq_main(int argc, char **argv)
|
|||||||
if (argv[i][0] == '-') {
|
if (argv[i][0] == '-') {
|
||||||
opt = argv[i][1];
|
opt = argv[i][1];
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
case '-':
|
||||||
case 'h':
|
case 'h':
|
||||||
usage(uniq_usage);
|
usage(uniq_usage);
|
||||||
default:
|
default:
|
||||||
@ -154,4 +155,4 @@ uniq_main(int argc, char **argv)
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* $Id: uniq.c,v 1.1 2000/01/06 00:48:21 beppu Exp $ */
|
/* $Id: uniq.c,v 1.2 2000/01/06 01:14:56 erik Exp $ */
|
||||||
|
5
uniq.c
5
uniq.c
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Mini sort implementation for busybox
|
* Mini uniq implementation for busybox
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999 by Lineo, inc.
|
* Copyright (C) 1999 by Lineo, inc.
|
||||||
@ -141,6 +141,7 @@ uniq_main(int argc, char **argv)
|
|||||||
if (argv[i][0] == '-') {
|
if (argv[i][0] == '-') {
|
||||||
opt = argv[i][1];
|
opt = argv[i][1];
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
case '-':
|
||||||
case 'h':
|
case 'h':
|
||||||
usage(uniq_usage);
|
usage(uniq_usage);
|
||||||
default:
|
default:
|
||||||
@ -154,4 +155,4 @@ uniq_main(int argc, char **argv)
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* $Id: uniq.c,v 1.1 2000/01/06 00:48:21 beppu Exp $ */
|
/* $Id: uniq.c,v 1.2 2000/01/06 01:14:56 erik Exp $ */
|
||||||
|
Loading…
Reference in New Issue
Block a user