crossley 2003/11/22 20:11:57
Modified: site/community committer.html
Log:
Link to PMC FAQ.
Show how to list only plain-text files with DOS line-endings.
Revision Changes Path
1.2 +13 -4 cocoon-site/site/community/committer.html
Index: committer.html
===================================================================
RCS file: /home/cvs/cocoon-site/site/community/committer.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- committer.html 18 Nov 2003 06:51:12 -0000 1.1
+++ committer.html 23 Nov 2003 04:11:57 -0000 1.2
@@ -186,12 +186,14 @@
<p>
These are some tips to help committers to keep our CVS clean.
See also
- <a href="http://www.apache.org/dev/committers.html">Committers
FAQ</a>.
+ <a href="http://www.apache.org/dev/committers.html">Committers
FAQ</a>
+ and
+ <a href="http://www.apache.org/dev/pmc.html">PMC FAQ</a>.
</p>
</div>
-<a name="N1001A"></a><a name="style"></a>
+<a name="N1001E"></a><a name="style"></a>
<h3>Coding Style Guidelines</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
@@ -203,7 +205,7 @@
</div>
-<a name="N10024"></a><a name="whitespace"></a>
+<a name="N10028"></a><a name="whitespace"></a>
<h3>Consistent whitespace</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
@@ -252,7 +254,7 @@
</div>
-<a name="N1005E"></a><a name="dos2unix"></a>
+<a name="N10062"></a><a name="dos2unix"></a>
<h3>dos2unix and other control-characters</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
@@ -270,6 +272,13 @@
Here is one way to find files that have any hidden control
characters:
<span class="codefrag">find . -type f | xargs grep -l
'[[:cntrl:]]'</span>
+
+</p>
+<p>
+ There seem to be many images and jar archives that contain
+ carriage-returns, so to list only the plain-text files:
+ <span class="codefrag">find . -type f | xargs grep -l '^M' |
+ xargs file | grep -i text | cut -f1 -d:</span>
</p>
</div>