Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Colorize command output



Hi,

To make conflicts stand out, I'd like to colorize the output of the svn command so that lines starting with C are displayed in red. My first shot at this was

% svn status | sed -e 's/^C/\e[31mC\e[0m/g'

but the escapes aren't interpreted. Can anyone help?

Thanks,
-Ralph.



Messages sorted by: Reverse Date, Date, Thread, Author