2462 projects tagged "BSD"
Unifdef is useful for removing #ifdef'ed lines from a file while otherwise leaving the file alone. You specify which symbols are defined or undefined with -D and -U flags, and unifdef removes the corresponding ifdefs, and the enclosed code if appropriate. It's especially useful for removing those "#ifdef BROKEN" and "#ifdef PRIVATE" clauses from code before you release it. Unifdef acts on #if, #ifdef, #ifndef, #elif, #else, and #endif lines, and it knows only enough about C and C++ to know when one of these is inactive because it is inside a comment or a single or double quote.
If you know how to code in PHP, Python, Perl, C/C++, Javascript, or any similar languages, you can use unjava plus your favorite text editor to write pure Java code, including GUI apps, without knowing Java. unjava is a set of header files and scripts that translates unjava source code into pure Java. It hides the details of writing and using event handlers and creating event-enabled objects such as menus. If you're a C or PHP coder, you'll like how you can simply #include header files in-line to have them expand in place. PHP coders used to define() can use #define, same as in C. Even Java programmers will like it for the ability to create unjava source code that's more concise and easier to read. You can use whatever plain text editor you want, then run unjava. The resulting Java class files can run on any machine with a Java runtime environment, and you can browse the generated Java source.
upnp2mrtg is a simple add-on for the MRTG (Multi Router Traffic Grapher). It can be used to monitor incoming and outgoing bytes of the external interface of the FritzBox DSL router. upnp2mrtg is a command line tool to gather statistics from an upnp enabled FritzBox DSL router. It is a lightweight shell-script for use with MRTG, so no underlying external software (with the exception of netcat) or libraries are required. Using bash-networking instead of netcat is also supported.
Userinfo is a console utility to display a variety of information about a local user. It uses loadable modules to perform different tasks, which separate the output with a field deliminator. Some may find it useful in shell scripts to gather information that might be tedious by other methods.