On Wed, Nov 25, 2015 at 16:52:11 -0500, Alex Pilon wrote:
> -find = subprocess.Popen(['find', '--'] + args.args,
> stdout=subprocess.PIPE)
> +find_args = ['-xdev'] if args.X else []
> +find = subprocess.Popen(['find'] + find_args + ['--'] +
> args.args,
>
On 11/25/2015 03:58 PM, Alex Pilon wrote:
On 15-11-25 01:39 PM, Alex Pilon wrote:
> Is it just me or should this work?
>>
> On Wed, Nov 25, 2015 at 03:45:38PM -0500, Peter Sjöberg wrote:
>> It's just you who skipped reading the man page
>
> No. I did read the man page. It's not doing
Is it just me or should this work?
$ find -xdev -- foo
find: unknown predicate `--'
$
But not this?
$ find -- foo -xdev -name 'sadasdasdasd'
$
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux
On 15-11-25 01:39 PM, Alex Pilon wrote:
> Is it just me or should this work?
>
> $ find -xdev -- foo
> find: unknown predicate `--'
> $
>
> But not this?
>
> $ find -- foo -xdev -name 'sadasdasdasd'
> $
> ___
> Linux mailing list
>
> This is all documented in the manual.
I know; see other subthread. What's odd is that `find -xdev -- foo` doesn't
work,
yet `find -- foo` does. I expected -- to be properly interpreted as the
end of options indicator, as per the manual.
___
Linux
On Wed, Nov 25, 2015 at 14:21:55 -0500, Alex Pilon wrote:
> > On 15-11-25 01:39 PM, Alex Pilon wrote:
> > > Is it just me or should this work?
> > >
> > > $ find -xdev -- foo
> > > find: unknown predicate `--'
> > > $
man find
"This manual page talks about `options' within the
On 15-11-25 02:21 PM, Alex Pilon wrote:
>> On 15-11-25 01:39 PM, Alex Pilon wrote:
>>> Is it just me or should this work?
>>>
>>> $ find -xdev -- foo
>>> find: unknown predicate `--'
>>> $
>>>
>>> But not this?
>>>
>>> $ find -- foo -xdev -name 'sadasdasdasd'
>>> $
>>
> On Wed,
On 11/25/2015 02:21 PM, Alex Pilon wrote:
>> On 15-11-25 01:39 PM, Alex Pilon wrote:
>>> Is it just me or should this work?
It's just you who skipped reading the man page
find [-H] [-L] [-P] [-D debugopts] [-Olevel] [path...] [expression]
note that we have some options before "path" and
On Wed, Nov 25, 2015 at 01:39:56PM -0500, Alex Pilon wrote:
> Is it just me or should this work?
>
> $ find -xdev -- foo
> find: unknown predicate `--'
> $
>
> But not this?
>
> $ find -- foo -xdev -name 'sadasdasdasd'
> $
Beg your pardon,
Some context I forgot to mention.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 15-11-25 04:00 PM, Alex Pilon wrote:
>> This is all documented in the manual.
>
> I know; see other subthread. What's odd is that `find -xdev -- foo` doesn't
> work, yet `find -- foo` does. I
> expected -- to be properly interpreted as the end
10 matches
Mail list logo