mirror of
https://github.com/notwa/rc
synced 2024-05-20 10:53:23 -07:00
improve colors of similar
This commit is contained in:
parent
2c0e5b6638
commit
be00b8d30a
|
@ -7,6 +7,7 @@ awk '
|
|||
for (c in a)
|
||||
if (a[c]==b[c]) i++
|
||||
else break
|
||||
print substr($0,1,i) "\033[7m" substr($0,i+1) "\033[0m"
|
||||
#print substr($0,1,i) "\033[7m" substr($0,i+1) "\033[0m"
|
||||
print "\033[31m" substr($0,1,i) "\033[0m" substr($0,i+1)
|
||||
L=$0
|
||||
}'
|
||||
|
|
Loading…
Reference in New Issue
Block a user