Highlight trailing whitespace Edit Delete highlight sed space syntax trailing sed $'s/[ \t][ \t]*$/\033[1;41m&\033[m/g'