Re: [Foa-devel] Tidying source code
Brought to you by:
fabgia
From: <bf...@ew...> - 2002-09-18 03:20:20
|
At 8:43 pm +0100 13/9/02, ewitness - Ben Fowler wrote: >I noticed about a week ago that the sources checked out on the >Mac had faulty line endings in many cases. > >[ ... ] > >I will write a perl script to fix the problems, and check in the >corrected files sometime on the next 5 or 6 hours. Done. The script I used was: % find . -name '*.java' -exec perl -pi.bak -e 's/\x0d\x0a/\x0a/g' {} \; Incidentally, the sources seem to have a mixture of tabs and spaces, perhaps tab stop set to 8 spaces. Whilst I am fixing white space should not the files be either tab-expanded, or more likely to be what is required, entabbed with 8 spaces being folded to 1 tab character? Ben. -- Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of ewitness Limited shall be understood as neither given nor endorsed by it. eWitness Limited, Alpha House, Redvers Close, Lawnswood Business Park, Leeds, LS16 6QY Telephone: 0113 2951112 Fax: 0113 2951114 |