OSDN Git Service

add a scriptlet to delete the first line when it is blank.
authormshio <mshio@54a90f34-5e62-402c-8eae-46c47f0b2e07>
Sun, 3 Nov 2013 03:28:04 +0000 (03:28 +0000)
committermshio <mshio@54a90f34-5e62-402c-8eae-46c47f0b2e07>
Sun, 3 Nov 2013 03:28:04 +0000 (03:28 +0000)
git-svn-id: svn+ssh://svn.osdn.net/svnroot/sawarabi-fonts/trunk@69 54a90f34-5e62-402c-8eae-46c47f0b2e07

script/rm_first_blank_line.sh [new file with mode: 0644]

diff --git a/script/rm_first_blank_line.sh b/script/rm_first_blank_line.sh
new file mode 100644 (file)
index 0000000..59a17ce
--- /dev/null
@@ -0,0 +1,9 @@
+#! /usr/bin/env bash
+
+ROOT=`dirname ${0}`/..
+
+STYLE=mincho
+SFDIR=fonts/${STYLE}/sawarabi-${STYLE}-medium.sfdir
+
+sed -i -e '1{/^$/d}' ${ROOT}/${SFDIR}/*.glyph
+