less with color

Dimitrios P. Bouras dbouras at ieee.org
Tue Nov 22 12:17:21 EET 2011


2011/11/22 Antonis Christofides <anthony at itia.ntua.gr>

> Όταν λέω grep foo bar, τότε το grep χρωματίζει τη λέξη foo στο output.
> Όταν όμως λέω grep foo bar|less, χάνω τα χρώματα. Πώς γίνεται να μην τα
> χάσω;


grep --color=always foo bar | less

D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20111122/84420a90/attachment.html>


More information about the Linux-greek-users mailing list