> -----Original Message-----
> From: David Crossley [mailto:[EMAIL PROTECTED] 
> Sent: woensdag 10 december 2003 14:07
> To: [EMAIL PROTECTED]
> Subject: RE: whitespace cleanup and efficiency drive
> 
> Unico Hommes wrote: 
> > David Crossley wrote:
> > > 
> > > Try running the command as shown at
> > > http://cocoon.apache.org/community/committer.html
> > > except add the "-w" option to grep.
> > 
> > :-( no luck. I remember reading something about the -w option for 
> > cygwin but cannot find it now. I will look into it later. 
> According to 
> > man grep the -w option short for --word-regexp . Did you mean this?
> 
> That is correct. It is just to help narrow the search to only 
> text files. You could do without it.
> 
> Are you running the last command on that page, and adding the 
> ^M as shown?
> 

Ah! I assumed that remark didn't apply when you copy/paste. 

Wow that is a lot of files. Looks like basically all of them? Just to be
sure, in the apples block:

[EMAIL PROTECTED] /cygdrive/d/apache/cocoon-2.1/src/blocks/apples
$ find . -type f | xargs grep -w -l '^M' | xargs file | grep -i text |
cut -f1 -d:
./conf/apples-category.xlog
./conf/apples-processor.xconf
./conf/apples-target.xlog
./conf/apples.xsamples
./java/org/apache/cocoon/components/flow/apples/AppleController.java
./java/org/apache/cocoon/components/flow/apples/AppleHelper.java
./java/org/apache/cocoon/components/flow/apples/AppleRequest.java
./java/org/apache/cocoon/components/flow/apples/AppleResponse.java
./java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java
./java/org/apache/cocoon/components/flow/apples/DefaultAppleRequest.java
./java/org/apache/cocoon/components/flow/apples/DefaultAppleResponse.jav
a
./java/org/apache/cocoon/components/flow/apples/samples/BindingWoodyAppl
e.java
./java/org/apache/cocoon/components/flow/apples/samples/CalculationApple
.java
./java/org/apache/cocoon/components/flow/apples/samples/GuessGameApple.j
ava
./java/org/apache/cocoon/components/flow/apples/samples/HanoiApple.java
./samples/calc/displayResult.xsp
./samples/calc/getNumberA.xsp
./samples/calc/getNumberB.xsp
./samples/calc/getOperator.xsp
./samples/guess/guess.jx
./samples/guess/success.jx
./samples/hanoi/hanoi.jx
./samples/hanoi/hanoi.xsl
./samples/hanoi/intro.jx
./samples/sitemap.xmap
./samples/welcome.xml

Unico

Reply via email to