geek rescue kit Code
Brought to you by:
ctaf
| File | Date | Author | Commit |
|---|---|---|---|
| bin | 2006-04-16 | ctaf | [r82] |
| etc | 2006-04-16 | ctaf | [r83] null_which |
| AUTHORS | 2006-04-09 | ctaf | [r55] |
| ChangeLog | 2006-04-16 | ctaf | [r83] null_which |
| README | 2006-04-12 | ctaf | [r66] pre 0.3.0 |
| README.DEVEL | 2006-04-16 | ctaf | [r83] null_which |
| TODO | 2006-04-15 | ctaf | [r81] |
| VERSION | 2006-04-12 | ctaf | [r66] pre 0.3.0 |
| ctafconf-configuration | 2005-10-08 | u38928862 | [r1] |
| ctafconf-install | 2005-10-08 | u38928862 | [r1] |
| ctafconf-uninstall | 2005-10-08 | u38928862 | [r1] |
===========================================================
GUIDELINE:
all file in ctafconf/etc must be static (user should not edit them, program should not add file into)
all file in ctafconf/perso must not be overwritten and are user specific
===========================================================
POSIX
--sh
if cmp -s $SRCFILE $FILE; then
fi
export al=val
alias al=val
var=val
source
--tcsh
if ( -x file ) echo cool
setenv al val
alias al val
set var val
--ksh
export al=val
alias al=val
var=val
--zsh
if cmp -s $SRCFILE $FILE; then
fi
export al=val
alias al=val
var=val
--trap a signal
_trap_kill ()
{
trap "" KILL EXIT QUIT INT TERM
echo killing $pid
kill $pid
sleep 3
sync
exit 0
}
trap _trap_kill KILL EXIT QUIT INT TERM