OSDN Git Service

add a scriptlet to delete the first line when it is blank.
[sawarabi-fonts/sawarabi-fonts.git] / script / rm_first_blank_line.sh
1 #! /usr/bin/env bash
2
3 ROOT=`dirname ${0}`/..
4
5 STYLE=mincho
6 SFDIR=fonts/${STYLE}/sawarabi-${STYLE}-medium.sfdir
7
8 sed -i -e '1{/^$/d}' ${ROOT}/${SFDIR}/*.glyph
9