himanshuc (owner)

Revisions

gist: 233987 Download_button fork
public
Public Clone URL: git://gist.github.com/233987.git
Embed All Files: show embed
new #
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# Script to create new textile template for blog post using Jekyll
# Usage: ./new blog_identifier
# Example: ./new about_squirrels
 
if [ $# = 0 ]
then
echo "Usage: new topic_key"
  exit 2
fi
 
cp template.textile `date +'%Y-%m-%d-'$1`.textile