home *** CD-ROM | disk | FTP | other *** search
- Here is a pd utility that can fix the way c code looks. Ever run into
- "Yechhy" C code? We do - all the time. In our continuous nosing around
- through the enormous amount of PD C code out there, we constantly find
- interesting programs... that we can hardly make sense out of.
-
- This program will fix the bad code.... Maybe... It only depends on your
- perceptions of what "fixed" means. UNIX style? <Blechhh!>
- K&R Style? <Gack!> IBM internal style <Aieeeee!> No, these styles are
- clearly rude, crude, and socially unacceptable.
-
- Enter the SoftCircuits C code structuring tool;
-
- Created by Timothy R. Keating and Charles B. Blish due to an
- uncontrollable urge to be able to read other's programs.
-
- Think it's funny? Well, maybe. But not at 3 am, when you have a
- source file with 9 braces on 1 line, 6 parens and one brace on
- the next, and so on...
-
- Usage:
-
- PrettyPrint >outputfile inputfile
-
- This program will print to the stdio port, so:
-
- PrettyPrint inputfile
-
- will send the output to the console...
-
- PrettyPrint >ram:temp.c mysource.c
-
- will send the output to ram:temp.c
-
- PrettyPrint makes no assumptions about file extensions; You want 'em,
- then specify them.
-
- Have a nice day! And run any code you're going to post through this
- thing for the benefit of those new to the language, ok?
-
- Ben Blish, Tim Keating SoftCircuits Inc.
- Released into the public domain January 7th, 1987
- Please include this file if you re-post on another service.
- Posted to CIS first: CIS AmigaForum has 10,000 members! Come Join!
-
-