#!/bin/bash _converFirstCharLow() { local str0 str1 toBig firstChar str0="$@" firstChar=${str0:0:1} str1=${str0:1} toBig=`echo "$firstChar" | tr A-Z a-z` echo "$toBig$str1" } _converFirstChar() { local str0 str1 toBig firstChar str0="$@" firstChar=${str0:0:1} str1=${str0:1} toBig=`echo "$firstChar" | tr a-z A-Z` echo "$toBig$str1" } _getDateNowByFormat() { echo `date "+%Y-%m-%d %H:%M:%S"` } _getDateNow() { echo `date "+%Y%m%d%H%M%S"` } _createAuthor() { echo "$@" > "./scripts/author" } _getAuthor() { echo "`cat ./scripts/author`" }