Re: [bug #65386] unknown predicate error when using '-1M' as lt 1

James Youngman <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <CAGwX766i9yw3XscQtpooto8mMXkxE_YPk+-+eitwE9cG0zuQ5Q@mail.gmail.com>
You need a space after -size.

On Thu 29 Feb 2024, 03:59 anonymous, <[email protected]> wrote:

> URL:
>   <https://savannah.gnu.org/bugs/?65386>
>
>                  Summary: unknown predicate error when using '-1M' as lt 1
>                    Group: findutils
>                Submitter: None
>                Submitted: Thu 29 Feb 2024 03:58:40 AM UTC
>                 Category: find
>                 Severity: 3 - Normal
>               Item Group: None
>                   Status: None
>                  Privacy: Public
>              Assigned to: None
>          Originator Name: Andrew Scott
>         Originator Email: [email protected]
>              Open/Closed: Open
>                  Release: 4.9.0
>          Discussion Lock: Any
>            Fixed Release: None
>
>
>     _______________________________________________________
>
> Follow-up Comments:
>
>
> -------------------------------------------------------
> Date: Thu 29 Feb 2024 03:58:40 AM UTC By: Anonymous
> find . (-type f) -a (-size -1M) recup_dir.101
> bash: syntax error near unexpected token `('
> find . (-type f) -a -size'-1M' recup_dir.101
> bash: syntax error near unexpected token `('
> find . -type f -a -size'-1M' recup_dir.101
> find: unknown predicate `-size-1M'
> find . -type f -a -size -1M recup_dir.101
> find: paths must precede expression: `recup_dir.101'
> find: possible unquoted pattern after predicate `-size'?
> man find
> find . -type f -a -size -999k recup_dir.101
> find: paths must precede expression: `recup_dir.101'
> find: possible unquoted pattern after predicate `-
> find . -type f -a -size %-999k recup_dir.101
> find: Invalid argument `%-999k' to -size
> find . -type f -a -size-999k recup_dir.101
> find: unknown predicate `-size-999k'
> find --version
> find (GNU findutils) 4.9.0
> Copyright (C) 2022 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <https://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
>
>
>
>
>
>
>
>
>     _______________________________________________________
>
> Reply to this item at:
>
>   <https://savannah.gnu.org/bugs/?65386>
>
> _______________________________________________
> Message sent via Savannah
> https://savannah.gnu.org/
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.