CocoaDialog is an application that allows the use of common GUI controls such as file selectors, text input, progress bars, yes/no confirmations, and more from within a command-line application. It requires no knowledge of Cocoa, and is ideal for adding front-ends to shell, Perl, Ruby, or Python scripts.
GPP is a general-purpose preprocessor with customizable syntax, suitable for a wide range of preprocessing tasks. Its independence from any programming language makes it much more versatile than cpp, while its syntax is lighter and more flexible than that of m4. The syntax is fully customizable, which makes it possible to process text files, HTML, or source code equally efficiently in a variety of languages.
SLOCCount is a suite of programs for counting physical source lines of code (SLOC) in possibly large software systems. It can count physical SLOC for a wide number of languages. It can take a large set of files and automatically categorize their types using a number of different heuristics, and also comes with analysis tools.