aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-01-10 08:38:15 +0000
committerRon Yorston <rmy@pobox.com>2019-01-10 08:38:15 +0000
commitf99a280743e877c14ee90a3f9e93a34ca3476a27 (patch)
tree60ca3d17596e190c8c7cbca587168946598bee8a /findutils
parent40d5dd07ea1f290eaed30a03fd598e33a8eaf495 (diff)
parent6ca8e347fed8c24655df692f22694baf7c572770 (diff)
downloadbusybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.tar.gz
busybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.tar.bz2
busybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c6
-rw-r--r--findutils/grep.c6
-rw-r--r--findutils/xargs.c2
3 files changed, 10 insertions, 4 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 6407c6c5a..06ad1b39c 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -1467,6 +1467,12 @@ int find_main(int argc UNUSED_PARAM, char **argv)
1467 break; 1467 break;
1468 if (!saved[1]) 1468 if (!saved[1])
1469 break; /* it is "-" */ 1469 break; /* it is "-" */
1470 if (saved[1] == '-' && !saved[2]) {
1471 /* it is "--" */
1472 /* Try: find -- /dev/null */
1473 saved = *++past_HLP;
1474 break;
1475 }
1470 if ((saved+1)[strspn(saved+1, "HLP")] != '\0') 1476 if ((saved+1)[strspn(saved+1, "HLP")] != '\0')
1471 break; 1477 break;
1472 } 1478 }
diff --git a/findutils/grep.c b/findutils/grep.c
index 3e8ea9239..a4033a40b 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -18,19 +18,19 @@
18 * (C) 2006 Jac Goudsmit added -o option 18 * (C) 2006 Jac Goudsmit added -o option
19 */ 19 */
20//config:config GREP 20//config:config GREP
21//config: bool "grep (8.5 kb)" 21//config: bool "grep (8.6 kb)"
22//config: default y 22//config: default y
23//config: help 23//config: help
24//config: grep is used to search files for a specified pattern. 24//config: grep is used to search files for a specified pattern.
25//config: 25//config:
26//config:config EGREP 26//config:config EGREP
27//config: bool "egrep (7.6 kb)" 27//config: bool "egrep (7.8 kb)"
28//config: default y 28//config: default y
29//config: help 29//config: help
30//config: Alias to "grep -E". 30//config: Alias to "grep -E".
31//config: 31//config:
32//config:config FGREP 32//config:config FGREP
33//config: bool "fgrep (7.6 kb)" 33//config: bool "fgrep (7.8 kb)"
34//config: default y 34//config: default y
35//config: help 35//config: help
36//config: Alias to "grep -F". 36//config: Alias to "grep -F".
diff --git a/findutils/xargs.c b/findutils/xargs.c
index 6df8a035d..d014669bd 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -15,7 +15,7 @@
15 * http://www.opengroup.org/onlinepubs/007904975/utilities/xargs.html 15 * http://www.opengroup.org/onlinepubs/007904975/utilities/xargs.html
16 */ 16 */
17//config:config XARGS 17//config:config XARGS
18//config: bool "xargs (6.7 kb)" 18//config: bool "xargs (7.2 kb)"
19//config: default y 19//config: default y
20//config: help 20//config: help
21//config: xargs is used to execute a specified command for 21//config: xargs is used to execute a specified command for