tfixed the space substituttion in argument name - monochromatic - monochromatic blog: http://blog.z3bra.org
HTML git clone git://z3bra.org/monochromatic
DIR Log
DIR Files
DIR Refs
---
DIR commit 1362baf954616048a1f4f5bcb78ceac02270b378
DIR parent 2df1dce95bb2ac4d8270594fe572625afd2131b6
HTML Author: Willy Goiffon <w.goiffon@gmail.com>
Date: Fri, 9 Aug 2013 09:06:00 +0200
fixed the space substituttion in argument name
Diffstat:
M post.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/post.sh b/post.sh
t@@ -2,4 +2,4 @@
[[ -z "$1" ]] && exit 1
-cat head.template body.template foot.template >> $(date +%Y)/$(date +%m)/${1/ /-}.html
+cat head.template body.template foot.template >> $(date +%Y)/$(date +%m)/${1// /-}.html