C hacks

main | c hacks | c grab bag | scripts | libs | share | templates | vi lib
data-gen generate data (like tables)
gen_revbit_table.c generates a table for bit reversal
demo simple programs that do something ?
ascii_tbl.c print all ascii (and more) chars
mandelbrot.c text representation of mandelbrot fractal
p_dist.c demo: text graph of some probability distributions
printf_d.c emulates printf("%6d")
rd_passwd.c read passwd information for each named user
rd_symlink.c read to where symlink points to
show_acs.c show ACS chars of ncurses
tget.c get terminal entry from termcap data base
file no such file or directory oriented stuff
dupfiles.c print dupicated files found at dirs
dupinfo.c print all duplicated info page sets found on info path
touch.c touch access and modification times of given files
unlinker.c unlink either a file or a directory
hw hw oriented sw :)
beep.c produce a beep, hw level
cmos.c cmos save/restore
port.c perform port in/out operations
mail mail and mailboxes oriented stuff
mail_check.c check for new mail
massage-mail.c removes from start upto beginning of binary contents
resend_mail.c resends mail, without looping
split-mail.c split a MBOX file into several files: one per message
net [no description]
gethostname.c a poor's man nslookup
probe probe something for something
align.c finds out compiler alignments for several types
endian.c find endianess of machine
maxmalloc.c find max mallocable size
open-files.c find max number of open files, and those that keep open atfer a program exists
pipe-size.c find pipe buffer size
signals.c probe for system signals
stack_size.c finds out stack size, and where does it grows to
sh-aux utilities for print something useful?
filesize.c print file size
mktemp.c hack to output a temp file name
nyes.c yes(1) with count
tee.c copy stdin to both output and named files
unshar_strip.c strips a sh archive (sh), in order to remove headers
unshar_strip2.c strips headers from sh archives (shar) works as a filter (read from stdin, write to stdout)
uud.c take an input consisting of several spitted uuencode files, with possible garbage, and pass only the valid data to uudecode(1)
which.c which program will be executed
who.c display who is logged on
sys system oriented stuff
cat_mmap.c cat utility, no options, use mmap
hostname.c prints hostname
lastcmd.c show who did execute the last commands
lesspipe.c [no desc]
zap.c kill processes interactively ...
cat_raw.c cat utility (no options, use read/write)
cat_rw.c concatenate file, no options, use block sized read/write
text text utilities
cat-s.c output all input lines, without sequencial blanks acts like cat -s
cat.c cat utility: display file contents
center.c centers input lines
col-b.c perform a `col -b' like, operation
count-chars.c count chars!
count-lines.c count lines
esc.c escapes lines (backslash terminated)
expand.c expands tabs into spaces
grep.c search regular expressions on text
head.c display first lines of file
length_ln.c print each line, prefixed with its length
maxlinelen.c find maximum line length of given input files
numb_ln.c number lines
pmatch.c print matches of patterns
rot13.c simple rot13 program
shuffle.c mix input lines
tr.c translate input, doing specified conversions NEED WORK
unesc.c delete \\ at end of lines
unexpand.c unexpands spaces into tabs
wc1.c count words
wc2.c [no desc]
wc3.c [no desc]
wc4.c [no desc]
wc5.c [no desc]
tty terminal oriented stuff
slow-tty.c retards tty output speed
tty.c print used terminal
utils useful utilities
bsub.c binary (or not) substitute
caesar-add.c sums each byte of input to a given increment
cmp.c compare files
dumdo.c execute commands as a dum user
fromdos.c convert CR LF to LF line endings
hexd.c hexadecimal dumper
make-targets.c find targets on a makefile
open-fifo.c opens a file, blocks until get a sig
pg.c a simple pager
primes.c a simple prime number tester
printenv.c print environ
recho.c randomized version of echo, echoes its arguments in random order
rle.c compress files, using run length encoding algorithm
rle2.c compress files, using run length encoding algorithm use big (variable length) counts
run-cmd.c spawn processes with some options
strings.c find ascii sequences on binary data
timeout_cmd.c run a program for no more than a given time
unquote_printable.c convert =XX to 8 bit chars

main | c hacks | c grab bag | scripts | libs | share | templates | vi lib

Carlos Duarte <cgd [at] sdf-eu.org>