help using xargs

From: Noi (noi_at_siam.com)
Date: 01/17/04


Date: Sat, 17 Jan 2004 22:20:05 GMT


The 'sorting filenames' thread reminds me that I can't get the xargs to
work. I tried a couple of things:

$ find . -print -ok rm {} \; | xargs grep txt
$ fine . -print -ok rm {} \; | xargs 'grep -e txt'
$ find ~/ -print -ok rm {} \; | xargs grep -f test.txt

and none worked I just an list of invalid grep options.

Already read the man pages, TIA for any help on using this command.

-- 
------------------------------------------------------
Linux registered user #302812
using Fedora Core 1 kernel 2.4.22-1.2115.nptl
------------------------------------------------------


Relevant Pages

  • Re: help using xargs
    ... Neil W Rickert wrote: ... >>The 'sorting filenames' thread reminds me that I can't get the xargs to ... >with piping to xargs. ...
    (comp.os.linux.misc)
  • Re: help using xargs
    ... >>The 'sorting filenames' thread reminds me that I can't get the xargs to ... >>and none worked I just an list of invalid grep options. ... > with piping to xargs. ...
    (comp.os.linux.misc)
  • Re: help using xargs
    ... >> The 'sorting filenames' thread reminds me that I can't get the xargs to ... >> and none worked I just an list of invalid grep options. ... > TIA for any help on using this command. ...
    (comp.os.linux.misc)