mirror of
https://github.com/notwa/rc
synced 2025-03-14 14:12:49 -07:00
improve colors of similar
This commit is contained in:
parent
2c0e5b6638
commit
be00b8d30a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue