gawk '
BEGIN {
colors="Red Green Blue Cyan Magenta Yellow"
} {
if (match($0, /tinting/)) {
color = gensub(/.*:/, "", "g")
pos = index(colors, color)
color = substr(colors, pos)
pos = index(color, " ")
color = substr(pos ? color : colors, pos + 1)
color = gensub(/ .*/, "", "g", color)
lines[i++] = gensub(/:.*/, ":"color, "g")
} else {
lines[i++] = $0
}
} END {
for (j=0; j<i; j++) {
print lines[j]
}
} ' ~/.Xdefaults > /tmp/temp && mv /tmp/temp ~/.Xdefaults
aterm*tinting:Red
aterm*title:It's possible!
aterm*transparent:true
aterm*shading:50
aterm*scrollBar:false
aterm*saveLines:30000
aterm*font:-nil-profont-medium-r-normal--11-110-72-72-c-60-iso8859-1
aterm*geometry:100x30
Returner til Tips og triks / Favoritter
Registrerte brukere: Ingen registrerte brukere