Preserving colors when piping yaourt through sort

colorspipeyaourt

Can sort preserve piped in colors? I'm trying to modify yaourt -Qu | sort so I get color output. Tried googling this but I couldn't find a general way nor a special way to do this for sort.

Best Answer

Turns out yaourt has a color option, and yaourt -Qu --color | sort works.

Related Question