+
+ # a slightly different but also handy time and date function. this is
+ # intended for prefixing on log lines, so that each line has the time it
+ # occurred as the first element.
+ function timestamper() {
+ date +"[%Y-%m-%d %H:%M:%S] " | tr -d '/\n/'
+ }