2 # ---------------------------------------------------------------------------
3 # Multi-Phasic Applications: SquirrelJME
4 # Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 # Copyright (C) Multi-Phasic Applications <multiphasicapps.net>
6 # ---------------------------------------------------------------------------
7 # SquirrelJME is under the GNU General Public License v3, or later.
8 # See license.mkd for licensing and copyright information.
9 # ---------------------------------------------------------------------------
10 # DESCRIPTION: Returns the blog friendly username
15 # Directory of this script
16 __exedir
="$(dirname -- "$0")"
19 __myname
="$(fossil user default 2> /dev/null)"
25 # Print it, convert any dots to dashes
26 echo "$__myname" |
sed 's/\./-/g'