[PATCH] Improve help for file type option in find

Denys Vlasenko vda.linux at googlemail.com
Tue Apr 24 08:14:31 UTC 2018


Applied, thanks!

On Mon, Apr 23, 2018 at 5:17 PM, Fred Friedrich <berff2014 at outlook.com> wrote:
> Instead of three dots show the user all possible file types (s for socket, p for pipe)
>
> ---
>  findutils/find.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/findutils/find.c b/findutils/find.c
> index d9a42b3c6..07321c81a 100644
> --- a/findutils/find.c
> +++ b/findutils/find.c
> @@ -263,7 +263,7 @@
>  //usage:     "\n    -regex PATTERN    Match path to regex PATTERN"
>  //usage:    )
>  //usage:    IF_FEATURE_FIND_TYPE(
> -//usage:     "\n    -type X        File type is X (one of: f,d,l,b,c,...)"
> +//usage:     "\n    -type X        File type is X (one of: f,d,l,b,c,s,p)"
>  //usage:    )
>  //usage:    IF_FEATURE_FIND_PERM(
>  //usage:     "\n    -perm MASK    At least one mask bit (+MASK), all bits (-MASK),"
> --
> 2.16.3
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list