Re: xargs prompts with the same string, but executes differently

2019-07-23 Thread Assaf Gordon
Hello, On 2019-07-23 9:59 a.m., 積丹尼 Dan Jacobson wrote: Proof that xargs prompts with the same string, but executes differently: $ echo 0 0 | xargs -p -I{} xdotool mousemove {} click 1 mousemove restore xdotool mousemove 0 0 click 1 mousemove restore ?...y xdotool: Unknown command: 1 Run 'xdoto

Re: RFE: "-mtype" + -menc

2019-05-07 Thread Assaf Gordon
Hello, On 2019-05-06 5:20 p.m., L A Walsh wrote: [...] Once you've narrowed down things to the type of file, you might be able to select a content-specific tool for some specific field. [...] There are a couple of different levels of meta info, but I don't really see any thing on unix/linux to

Re: RFE: "-mtype" + -menc

2019-04-19 Thread Assaf Gordon
Hello, On 2019-04-16 8:13 p.m., L A Walsh wrote: [...] Very often I want to search for something but only in my shell or perl scripts and likely within the past 'X' months, stringing everything together in a pipeline is certainly possible but awkward when what I really want to do is search for a

[bug #51711] non-helping error output with find

2017-08-16 Thread Assaf Gordon
Follow-up Comment #3, bug #51711 (project findutils): Hello all, Since this type of erroneous usage is so common (forgetting to quote the shell glob pattern), perhaps it's worth detecting this case and giving a specific hint? See the attached (mostly untested) patch, which gives: $ touch a.tx

Re: Weird interaction of xargs with complete ( shell builtin )

2016-10-27 Thread Assaf Gordon
Hello, On 10/27/2016 07:01 AM, Abhijith Sethuraj wrote: cat file1 | xargs -I %% complete -A alias %% xargs: complete: No such file or directory As you,ve said, "complete" is a shell built-in (and even specific to bash). xargs tries to run a program/script called 'complete' and fails. To run a

Re: [bug #46815] problem when testing file size

2016-01-10 Thread Assaf Gordon
Hello all, > On Jan 10, 2016, at 17:43, James Youngman wrote: > > On Sun, Jan 10, 2016 at 7:23 PM, Bernhard Voelker > wrote: >> On 01/09/2016 04:41 PM, James Youngman wrote: >>> Let's re-open the discussion about what to call the "sane" alternative to >>> -size, and implement it this time. [...

Re: Historic and proposed future use of branches in the findutils repository

2016-01-06 Thread Assaf Gordon
On 01/06/2016 03:50 PM, Bernhard Voelker wrote: [...] maybe someone could run "git gc" on the server to remove the 21 then- unreferenced commits. I believe "git gc" runs on all git repositories on savannah on the 4th of every month. - Assaf (for reference, the relevant files are vcs.sv.gnu.

Re: Filename Expansion: Find Utility Pattern Matching vs Bash Shell Pattern Matching

2015-06-17 Thread Assaf Gordon
Hello Michael, On 06/17/2015 12:43 PM, Michael Convey wrote: <...> I'm trying to understand why the operators work differently under different circumstances. For example, according to the following link, 'find -name' appears to use fnmatch(), whereas bash appears to use glob(): I believe this