| delorie.com/archives/browse.cgi | search |
| From: | "bowman" <bowman AT montana DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <guglJAq00UjGEqYEcz AT andrew DOT cmu DOT edu> |
| Subject: | Re: Attempting to make an auto indenter |
| Lines: | 17 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
| Message-ID: | <zCOs6.424$Mh1.4429@newsfeed.slurp.net> |
| Date: | Sat, 17 Mar 2001 10:52:33 -0700 |
| NNTP-Posting-Host: | 208.4.224.147 |
| X-Trace: | newsfeed.slurp.net 984856095 208.4.224.147 (Sat, 17 Mar 2001 13:08:15 CDT) |
| NNTP-Posting-Date: | Sat, 17 Mar 2001 13:08:15 CDT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
James W Sager Iii <sager+@andrew.cmu.edu> wrote in message
news:guglJAq00UjGEqYEcz AT andrew DOT cmu DOT edu...
> Since I do not have the time to space out my code as I go along, I was
> hoping to save time by making a program that takes as its argument a
> C/C++ file and indents it automatically depending on {}. I'd really
> like to see this feature in rhide, but since it does not exist, I need
> to code it up.
if I understand what you're talking about, the gnu 'indent' utility is
freely available and can be set up to format almost any style.
http://www.cslab.vt.edu/manuals/indent/indent_toc.html
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |