monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit 8fa7709fd45c0d6b087d92155a2deab61e122522
parent 9060fa6c39fd8b0f1bf126859f10d5b25afcc0c6
Author: z3bra <willy@mailoo.org>
Date:   Wed, 24 Sep 2014 01:44:24 +0200

Added title formatting options

Diffstat:
post.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/post.sh b/post.sh @@ -4,7 +4,7 @@ read -p "Post title: " title # use post title to name the file -file=`echo ${title}| sed "s/\s\+/-/g;s/./\L&/g;s/[,.!;\"']//g"`.txt +file=`echo ${title}| sed "s/\s\+/-/g;s/./\L&/g;s/[,.?!;\"']//g"`.txt test -z "$file" && exit 1