Revision: 43409
Updated Code
at March 24, 2011 13:35 by vikiyou
Updated Code
# $1 - the exit code # $2 $... - the message string die() { retcode=$1 shift printf >&2 "%s\n" "$@" exit $retcode }
Revision: 43408
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 23, 2011 11:58 by vikiyou
Initial Code
# $1 - the message string die() { retcode=$? printf >&2 "%s\n" "$@" exit $retcode }
Initial URL
Initial Description
Impletement die function for bash
Initial Title
Die function for bash
Initial Tags
Bash
Initial Language
Bash