tCorrected a few things here and there - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 78855a627a0eb6a584ce07789717ec7e0df2a835
(DIR) parent c437e26bf36757428b3aa4afdeafd4cbbd9c2e0a
(HTM) Author: z3bra <willy@mailoo.org>
Date: Tue, 19 Aug 2014 09:38:55 +0200
Corrected a few things here and there
Diffstat:
M Makefile | 2 +-
M post.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -30,5 +30,5 @@ $(FEEDS): index.txt
.txt.html: $(HEADER) $(FOOTER)
@echo "MARKDOWN `basename $@`"
@cat $(HEADER) > $@
- @markdown $< >> $@
+ @$(MD) $< >> $@
@cat $(FOOTER) >> $@
(DIR) diff --git a/post.sh b/post.sh
t@@ -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