~sircmpwn/dotfiles

ref: 586405220f835a26c139b144ca0f010fcf4b530c dotfiles/bin/whitesp -rwxr-xr-x 162 bytes
58640522Drew DeVault whitesp: new script 4 months ago
                                                                                
1
2
3
4
#!/bin/sh
grey="$(printf '\033[90m')"
reset="$(printf '\033[0m')"
sed -e "s/ /$grey.$reset/g" | sed -e 's/\t/'$grey$reset'\t/g' | sed -e "s/\$/$grey¬$reset/"