#!/bin/bash
#########################################################
# 							#
# This is BashStyle-NG 7.2				#
#							#
# Licensed under GNU LESSER GENERAL PUBLIC LICENSE v3	#
#							#
# Copyright 2007 - 2008 Christopher Bratusek		#
#							#
#########################################################

_help()
{
	echo -e "\nSyntax: echo -e '\$(bs-ng-parse-echo <color>) hello'"
	echo -e "\nPossible values for <color>:"
	echo -e "\nSymbolic Colors:\n\
	\n\$usercolor\
	\n\$hostcolor\
	\n\$datecolor\
	\n\$timecolor\
	\n\$uptimecolor\
	\n\$wdircolor\
	\n\$fontcolor\
	\n\$pscolor\
	\n\$sepacolor\n\
	\nDefined Colors\n\
	\n\$white\
	\n\$blue\
	\n\$red\
	\n\$green\
	\n\$yellow\
	\n\$cyan\
	\n\$black\
	\n\$coldblue\
	\n\$iceblue\
	\n\$smoothblue\
	\n\$smoothgreen\
	\n\$magenta\
	\n\$turqoise"
}

case $1 in
	"" | *help*)
		_help
	;;

	*)
		echo $1 | sed -e 's/\\\[//g' -e 's/\\\]//g'
	;;
esac
