shchemes/base16/convert_scheme.sh
2024-03-20 14:47:27 -06:00

7 lines
129 B
Bash
Executable File

#!/bin/sh
awk -F ' *: *' '
/^#/ { print }
$1 ~ "palette" { p = 1; next }
p && /^ +/ { gsub(/ /, "", $1); print $1 "=" $2 }
' $1