Date: Mon, 2 Mar 1998 09:50:22 +0200 (IST) From: Eli Zaretskii To: HackerOC3 cc: djgpp AT delorie DOT com Subject: Re: Utilities In-Reply-To: <19980301233501.SAA06640@ladder03.news.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 1 Mar 1998, HackerOC3 wrote: > change // style comments to /*...*/ syle comments The DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) has one solution in section 8.3. Excerpt: The following Sed command will convert a C program with C++-style comments into a valid C source, provided you don't have the string "//" in a character string: sed "s?//\(.*\)?/*\1 */?" file.c > newfile.c Sed can be found in the DJGPP distribution: ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/sed118b.zip. > alphabetize and prototype a file of functions A program named `protoize' which is part of the GCC distribution can add prototypes to a C program. Unfortunately, the DJGPP port of GCC doesn't include `protoize', but you can probably find it on other systems, like Linux, or even port it yourself if you feel motivated enough. I don't understand what do you mean by ``alphabetize a file of functions''. Please explain.