A Perl module for autoformatting C program

Discussion in 'Perl Misc' started by byang, Apr 18, 2009.

  1. byang

    byang Guest

    Hi,
    After some searching, I did not find such a module that used for
    formatting C program. I have a set of C program files, which are total
    mess. I intend to use Perl to autoformat them, help please. Thanks!


    Regards!
    Bo
    byang, Apr 18, 2009
    #1
    1. Advertising

  2. byang

    byang Guest

    On 4ÔÂ18ÈÕ, ÏÂÎç11ʱ13·Ö, Ben Morrow <> wrote:
    > Quoth byang <>:
    >
    > > Hi,
    > > After some searching, I did not find such a module that used for
    > > formatting C program. I have a set of C program files, which are total
    > > mess. I intend to use Perl to autoformat them, help please. Thanks!

    >
    > What's wrong with indent(1)? While PErl is a flexible and useful
    > language, it seems silly to reinvent something that's already been
    > implemented perfectly well.


    It is great, but I don't want my work dependent on too many external
    applications. And does indent available on all Unix-like system?
    Thanks!

    Regards!
    Bo
    byang, Apr 19, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. GD

    Code Autoformatting

    GD, Jun 30, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    382
    Mike Chidsey
    Jul 1, 2004
  2. Sergei Shelukhin

    annoying features of VS IDE autoformatting

    Sergei Shelukhin, Mar 13, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    328
    Sergei Shelukhin
    Mar 14, 2005
  3. Mothra
    Replies:
    5
    Views:
    484
    Dennis Lee Bieber
    Apr 15, 2005
  4. Maric Michaud
    Replies:
    0
    Views:
    7,186
    Maric Michaud
    Jun 24, 2006
  5. Kris Stark
    Replies:
    1
    Views:
    96
    John Bokma
    Sep 8, 2005
Loading...

Share This Page