← Back to team overview

ufl team mailing list archive

Re: Fwd: [Branch ~ufl-core/ufl/main] Rev 1192: Fix indentation bug introduced in last commit.

 

On 20 September 2011 11:23, Johannes Ring <johannr@xxxxxxxxx> wrote:
> On Tue, Sep 20, 2011 at 12:13 PM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
>> Related to indentation, I opened some UFL code recently and it had tab
>> characters. This screwed up the indentation, and as presented on my
>> screen made it ambiguous as to what the code should/would do. Is there
>> an easy way to search files for tab characters so we can then remove
>> them?
>
> Something like this should work:
>
>  $ sed -i 's/\t/    /g' tab-file.txt
>

Maybe we could add a check for tabs to the test scripts?

Garth

> Johannes
>


References