[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
source code auto intendation
From: |
Samuel |
Subject: |
source code auto intendation |
Date: |
Mon, 15 Dec 2008 22:32:57 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081125) |
Hello octave maintainers,
maybe I missed something, but I could not find a program which auto
aligns octave m-files.
So I wrote a small one. It's a first hack, but it should do the job. I
put the source code here:
http://sites.google.com/site/elsamuko/Home
It's the octave_reformat.cpp file.
Compile it with:
g++ -O2 -Wall -o octave_reformat octave_reformat.cpp
You get a binary which is used like this:
octave_reformat fileIn.m [fileOut.m]
Since I find something like this very useful, I hope you will find this
too. Maybe it finds its way into the official octave distribution one day.
Greetings,
Samuel Albrecht
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- source code auto intendation,
Samuel <=