Both Django and Jinja offer awesome string templating libraries. I wondered how difficult it would be to simply script some string templates for use in Bash scripts, and I found that it’s really not so hard at all.
Just posted an awesome new little tutorial on TerminalLinux.org on getting your awesome on with the X clipboard on your Linux machine. Automate and mass-transform your clipboard contents from your handy-dandy terminal!
# insert a tab at the beginning of each line of the contents of the clipboard xclip -o | sed 's:^:\t:g' | xclip -selection clipboard