On 30Jul2013 01:41, Rhodri James <[email protected]> wrote:
| On Tue, 30 Jul 2013 01:11:18 +0100, Joshua Landau <[email protected]> wrote:
| >On 30 July 2013 00:08, Rhodri James <[email protected]> wrote:
| >>I'm working on some shonky C code at the moment that inconsistent
| >>indentation and very long lines.
[...]

Have you tried the indent(1) command?

  DESCRIPTION
     indent is a C program formatter.  It reformats the C program in the
     input_file according to the switches.  The switches which can be speci‐
     fied are described below.  They may appear before or after the file
     names.

Very handy sometimes.

Cheers,
-- 
Cameron Simpson <[email protected]>

The top three answers:  Yes I *am* going to a fire!
                        Oh! We're using *kilometers* per hour now.
                        I have to go that fast to get back to my own time.
- Peter Harper <[email protected]>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to