7 lines
129 B
Bash
Executable File
7 lines
129 B
Bash
Executable File
#!/bin/sh
|
|
awk -F ' *: *' '
|
|
/^#/ { print }
|
|
$1 ~ "palette" { p = 1; next }
|
|
p && /^ +/ { gsub(/ /, "", $1); print $1 "=" $2 }
|
|
' $1
|