[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ^M und <? tags in PHP korrigieren


On Thu, Sep 15, 2005 at 10:58:14PM +0200, Joerg W Mittag wrote:
> SUSv3 haelt fuer dieses Problem noch die nette Variante 'find ... -exec
> command {} +' bereit (also mit '+' als Terminator statt ';').

Nachtrag:

FreeBSD-find kann es:

     -exec utility [argument ...] {} +
             Same as -exec, except that ``{}'' is replaced with as many path-
             names as possible for each invocation of utility.  This behaviour
             is similar to that of xargs(1).

GNU-Find auch: (man gfind)

       -exec command {} +
              This  variant  of the -exec option runs the specified command on
              the selected files, but the command line is built  by appending
              each  selected file name at the end; the total number of invoca-
              tions of the command will  be  much  less  than  the number  of
              matched  files.   The command line is built in much the same way
              that xargs builds its command lines.  Only one instance of '{}'
              is  allowed  within the command.  The command is executed in the
              starting directory.


$ find --version
GNU find Version 4.2.20
Features enabled: D_TYPE O_NOFOLLOW(enabled) 

MfG
-- 
Raphael Becker                                    http://rabe.uugrn.org/
                      http://schnitzelmitkartoffelsalat.und.rahmspin.at/
.........|.........|.........|.........|.........|.........|.........|..