21Oct/090
Smarty’s nl2br How to replace newlines with HTML breaks
Replacing newlines with breaks is as easy as
{$variable|nl2br}
http://www.smarty.net/manual/en/language.modifier.nl2br.php
12Oct/090
archive (tar and gzip) with timestamp in bash
#!/bin/bash
tar zcf "$1-archive-$(date + '%F-%H-%M').tar.gz" "$1"