Programming Links
-
A link to interesting articles on C
-
C FAQ
- Stuff on C and JAVA
- The draft of the proposed C standard (C9X)
- Perl Homepage
- Perl Website
- Perl FAQ
- CPAN
- Perl
Reference Guide html'ized
- O'Reilly Associates - Source of
good books related to programming
-
Info about gcc for msdos can be found here
-
The binaries for gcc for dos can be found here - ftp site
My own stuff
- jmake
- nice Perl script that makes a Makefile for JAVA automatically -
written by me - based on an idea by
Samuel Oosterhuis
- logstats.pl - Perl script that parses
apache httpd logfiles, look at code for flags or just use -h
flag, set the environment variable APACHE_LOG to the location of the
apache log file or use the -f switch to specify the log file
- killspam.pl - Perl script to look for
spam in the mailq, has several switches to help you
automatically deal with spam. killspam.pl -h will list the
switches. This is meant for sys admins. It's only been
tested on a Solaris box.
- suid.pl - create a list of set uid
files on the system in your home dir. Meant for sys admins.
On first run it will list all suid files to the screen and
save them to $HOME/.suid_files. After that it will list the
changes, ie. new suid files or removed ones.
- format.pl - Perl script that is
somewhat of a standalone version of my Text::Format module.
It can be used as a filter or it will open and read files from
the command line. To see what all the different switches do,
use the -h switch. It has a few features which Text::Format
doesn't, and at the same time, it doesn't implement all the
features of Text::Format. :)
- Text-Format0.52.tar.gz
- Perl module that is meant to be a complement of Text::Wrap.
Object oriented so it is thread safe. It doesn't die under
any circumstance, unlike Text::Wrap. This is VERSION 0.52,
still in beta but pretty robust and stable. If you find bugs
please report them. This should be close to a release version
now. Uploaded Mar. 29.
Features : ability to do hanging indents, right align
text, fill right side of text with spaces out to column width,
read text from a filehandle and give you the formatted text,
put two spaces after end of sentence, non-breaking space
between words that should not have a break between them,
justification of text to both margins
Description of Format.pm
-
Text-Format0.52+NWrap0.11.tar.gz -
As above but includes Text::NWrap which has the same interface
subroutine as Text::Wrap but uses Text::Format to do the
actual formatting - basically a simple interface to
Text::Format
- File-NCopy0.32.tar.gz -
Perl module to copy a file to another or files/directories to
a directory. Accepts globs (*?) as wildcards. - uploaded May 15
- File-Remove0.20.tar.gz -
Perl module to remove files and directories. Accepts globs
(*?). - uploaded Apr. 14
- RcParse.pm - A little module to
parse rc files.
- vector.tar.gz - A little C
library that implements a vector that will store pointers to your
objects. You can use it as a linked list, a stack or queue.
Comes with a man page in three formats, man format, html format
and text format.
- hdump.tar.gz - C program that can
do a hexdump among other things. Similar to od but better in my
humble opinion. Look at code for flags, uses getopt.
- unixio.tar.gz
- some nice C code that simulates some of the functionality of MSDOS
- such as kbhit, getch - to find out more click
here
- sample Makefile - give you start with
your own, although this is quite useful on its own
- Ksh emulation of
pushd, popd and dirs - These functions I wrote emulate the
csh builtins pushd, popd and dirs. They also set the prompt
to the full path or part thereof and if you use xterm, or rxvt the
title bar is set to the name of the machine and the full path.
- list files by their type
- stat - print contents of struct
stat. To compile just do the following. gcc configure.c -o
configure; ./configure;gcc -O3 stat.c -o stat; ./stat -?
My Perl modules are also available on CPAN