useful script

This commit is contained in:
Alter Step
2017-02-09 02:01:42 +01:00
parent 44908fa7de
commit 9b6fbab397
+7
View File
@@ -0,0 +1,7 @@
#! /bin/sh
for f_in in *.haml; do
echo "$f_in"
f_out=$(echo "$f_in" | sed -e 's/.haml/.html/')
haml < "$f_in" > "$f_out"
done