Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- # Highlight whitespace on the terminal
- # -- rolfwr
- reset=$(printf '\033[0m')
- color=$(printf '\033[0;36m')
- cat $@ | sed -e "
- s/ /${color}▹▹▹▹▹▹▹▹${reset}/g
- s/ /${color}·${reset}/g
- s/$/${color}⁋${reset}/"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement