This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
printf "\n " | |
for i in {0..255} ; do | |
colcode="colour${i}" | |
printf "\x1b[38;5;${i}m%-10s " $colcode | |
if [ $((($i+1) % 8)) = 0 ] ; then | |
printf "\n " | |
fi | |
done | |
printf "\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DIFF="/usr/bin/vimdiff" | |
LEFT=${6} # old file | |
RIGHT=${7} # new file | |
L_TITLE=${3} # file name and revision of old file | |
R_TITLE=${5} # file name and revision of new file | |
bold=`tput bold` | |
normal=`tput sgr0` |