summaryrefslogtreecommitdiff
path: root/src/generate_colors.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-20 22:20:50 +0000
committerdavidovski <david@davidovski.xyz>2022-02-20 22:20:50 +0000
commit2fcc1fa648b1594eda18935f9590a94971fae616 (patch)
tree5c1c3dd0cea2046addb6d2c0a21066bdf87487d5 /src/generate_colors.sh
parent89539c200bf93d53ee9b91b521c09bd4607e01d0 (diff)
added xi glyphv1.0
Diffstat (limited to 'src/generate_colors.sh')
-rw-r--r--src/generate_colors.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generate_colors.sh b/src/generate_colors.sh
index b9e862d..2f0bfcf 100644
--- a/src/generate_colors.sh
+++ b/src/generate_colors.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
PREFIX=$1
@@ -35,7 +35,7 @@ append_sh() {
}
while IFS= read -r line; do
- grep -q "." <<< "$line" || continue
+ echo "$line" | grep -q "." || continue
name=$(echo $line | awk '{ print $1 }')
code=$(echo $line | awk '{ print $2 }')