
SYNOPSIS
	. /lib/libtaz.sh
	function

DESCRIPTION
	LibTaz is the base SliTaz SHell library used by almost all tools and
	utilities. It provides common SHell script functions, parses the cmdline
	options and store values in a variable. The output messages can be
	formatted for raw/text, gtk, html and by default they are formatted for
	a standard terminal supporting colors. LibTaz is in the directory
	/lib/libtaz.sh since it is used when /usr may not be mounted.

FUNCTIONS
	_ <string>            Short name for "eval_gettext string; echo"
	_n <string>           Short name for "eval_gettext string"
	status                Return command status [Done|Failed]
	separator             Display a line separator
	newline               Echo a new line if gettext or echo -n is used
	boldify <string>      Use a bold font for term, html or GTK output
	colorize NB <string>  Colorize a string in term mode
	indent NB [string]    Indent text in term mode
	emsg <string>         Output mark up messages
	check_root            Check if user is logged as root
	debug <string>        Display a DEBUG message when --debug is used
	confirm               Read answer to confirm an action
	log <string>          Log activity, $activity must be set
	optlist <lines>       Prints two-column list (of options, or functions, etc.)
	longline <string>     Wrap words in long terminal message

OPTIONS
	--output=[raw|gtk|html]
	--activity=/path/files/activity

EXAMPLES
	log "Message"
	check_root
	emsg "<b>bold</b> <c 31>red</c> <c 32>green</c> separator<-> newline<n> <i 26>indent"
	optlist "\
option1				Description1 (after one or any number of tab symbols)
format $(_ 'disk')	$(_ 'Format a specified disk')"

AUTHORS
	Christophe Lincoln
	Aleksej Bobylev

