1 |
On Sun, 12 Aug 2012 10:56:02 +0200 |
2 |
Ulrich Mueller <ulm@g.o> wrote: |
3 |
|
4 |
> When preparing the list of EAPI 5 features for the upcoming council |
5 |
> meeting, I noticed that the eapi-5 branch mentions only GNU find [1] |
6 |
> whereas the corresponding bug mentions both find and xargs [2]. |
7 |
> |
8 |
> Shouldn't we mention xargs, too? |
9 |
|
10 |
Usually I see xargs used as 'find <somestuff> | xargs <dosomething>' |
11 |
which can easily be handled by find alone. So, not sure we want to |
12 |
mandate xargs at all. |
13 |
|
14 |
> |
15 |
> Ulrich |
16 |
> |
17 |
> [1] |
18 |
> <http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=472690942e14f63f1b1f3a5681976a59539ea3f8> |
19 |
> [2] <https://bugs.gentoo.org/show_bug.cgi?id=384157#c2> |
20 |
> |
21 |
> From f9741fb09b19bb0cf232254368617c31f3c22898 Mon Sep 17 00:00:00 2001 |
22 |
> From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@g.o> |
23 |
> Date: Sun, 12 Aug 2012 10:55:51 +0200 |
24 |
> Subject: [PATCH] Require xargs in addition to find. |
25 |
> |
26 |
> --- |
27 |
> ebuild-env-commands.tex | 4 ++-- |
28 |
> 1 files changed, 2 insertions(+), 2 deletions(-) |
29 |
> |
30 |
> diff --git a/ebuild-env-commands.tex b/ebuild-env-commands.tex |
31 |
> index 1129fa6..d24fc81 100644 |
32 |
> --- a/ebuild-env-commands.tex |
33 |
> +++ b/ebuild-env-commands.tex |
34 |
> @@ -29,8 +29,8 @@ The following commands must always be available in |
35 |
> the ebuild environment: \item \t{sed} must be available, and must |
36 |
> support all forms of invocations valid for GNU sed version 4 or later. |
37 |
> \item \t{patch} must be available, and must support all inputs valid |
38 |
> for GNU patch. -\item \t{find} must be available, and must support |
39 |
> all forms of invocations valid for GNU find |
40 |
> - version 4.4 or later. Only for EAPIs listed in |
41 |
> table~\ref{tab:system-commands-table} as +\item \t{find} and |
42 |
> \t{xargs} must be available, and must support all forms of |
43 |
> invocations valid for |
44 |
> + GNU find version 4.4 or later. Only for EAPIs listed in |
45 |
> table~\ref{tab:system-commands-table} as requiring GNU find. |
46 |
> \featurelabel{gnu-find} \end{compactitem} |
47 |
> |