[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Examining the output of a shell command?
From: |
Eli Zaretskii |
Subject: |
Re: Examining the output of a shell command? |
Date: |
Mon, 29 Jun 2015 17:51:41 +0300 |
> From: Raffaele Ricciardi <rfflrccrd@gmail.com>
> Date: Mon, 29 Jun 2015 13:26:38 +0200
>
> Hence, how could I capture a colorized output in Emacs as in a Bash
> session?
>
> Below is a Bash script that recursively searches "*.el" files for the
> string "defun" and highlights matches (the complex `find` call is the
> shell command generated by `M-x rgrep` for the same task):
>
> #!/bin/bash
>
> export GREP_COLORS="mt=01;31:fn=:ln=:bn=:se=:sl=:cx=:ne"
> export GREP_OPTIONS="--color=auto"
^^^^
Did you try with --color=always?
- Re: Examining the output of a shell command?, (continued)
- Message not available
- Re: Examining the output of a shell command?, Raffaele Ricciardi, 2015/06/28
- Re: Examining the output of a shell command?, Eli Zaretskii, 2015/06/28
- Message not available
- Re: Examining the output of a shell command?, Raffaele Ricciardi, 2015/06/28
- Re: Examining the output of a shell command?, Eli Zaretskii, 2015/06/28
- Message not available
- Re: Examining the output of a shell command?, Raffaele Ricciardi, 2015/06/28
- Re: Examining the output of a shell command?, Pascal J. Bourguignon, 2015/06/28
- Re: Examining the output of a shell command?, Emanuel Berg, 2015/06/28
- Message not available
- Re: Examining the output of a shell command?, Pascal J. Bourguignon, 2015/06/29
Message not available