Erik S. Johansen wrote:
On Friday 14 November 2003 16:38, Andrew Gaffney wrote:
I'm really looking for something more generic. I just used emerge as an
example. I want to be able to strip color out of *any* output.
otoh, sed -r "s:[^[][[][0-9]{1,2}[;]{0,1}[0-9]{0,2}[m]::g" should filter out
ANS
Erik S. Johansen wrote:
otoh, sed -r "s:[^[][[][0-9]{1,2}[;]{0,1}[0-9]{0,2}[m]::g" should filter out ANSI.
How easy for a beginner to figure out such commands..
like needing to develop the complete car to invent
the wheel.. :)
--
[EMAIL PROTECTED] mailing list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 14 November 2003 16:38, Andrew Gaffney wrote:
> I'm really looking for something more generic. I just used emerge as an
> example. I want to be able to strip color out of *any* output.
otoh, sed -r "s:[^[][[][0-9]{1,2}[;]{0,1}[0-9]{0,2}[m]::
Oliver Lange wrote:
Andrew Gaffney wrote:
What I'm really looking for is maybe a way to pipe output through sed
and strip out and ^[blah] or whatever control sequences that add the
color.
Yep, a temporary color stripper for the current (or next)
command entered in the shell.
Text in light color
Andrew Gaffney wrote:
What I'm really looking for is maybe a way to pipe output through sed
and strip out and ^[blah] or whatever control sequences that add the color.
Yep, a temporary color stripper for the current (or next)
command entered in the shell.
Text in light colors (yellow, light cyan
Jeffrey Smelser wrote:
Is there a command line program or script I can filter
something through to remove color?
For example, if I want to run 'emerge' and get output with no
color, how can I do this?
You could always use tee, and just set the file to /dev/null.. I think tee will cut the color
> Is there a command line program or script I can filter
> something through to remove color?
> For example, if I want to run 'emerge' and get output with no
> color, how can I do this?
You could always use tee, and just set the file to /dev/null.. I think tee will cut
the colors out and still
Hall Stevenson wrote:
At 09:36 AM 11/14/2003, you wrote:
Hall Stevenson wrote:
At 01:29 AM 11/14/2003, you wrote:
Is there a command line program or script I can filter something
through to remove color? For example, if I want to run 'emerge' and
get output with no color, how can I do this?
At 09:38 AM 11/14/2003, you wrote:
Spider wrote:
begin quote
On Fri, 14 Nov 2003 11:18:02 +0100
Norbert Kamenicky <[EMAIL PROTECTED]> wrote:
Andrew Gaffney wrote:
Is there a command line program or script I can filter something
through to remove color? For example, if I want to run 'emerge' and
At 09:36 AM 11/14/2003, you wrote:
Hall Stevenson wrote:
At 01:29 AM 11/14/2003, you wrote:
Is there a command line program or script I can filter something through
to remove color? For example, if I want to run 'emerge' and get output
with no color, how can I do this?
From memory
'emerge --no-
begin quote
On Fri, 14 Nov 2003 08:38:05 -0600
Andrew Gaffney <[EMAIL PROTECTED]> wrote:
> I'm really looking for something more generic. I just used emerge as
> an example. I want to be able to strip color out of *any* output.
Ahh, then I don't really know. perhaps by setting the TERM variabl
David Gethings wrote:
On Fri, 2003-11-14 at 14:36, Andrew Gaffney wrote:
'emerge --help | grep color' gives me nothing. Also, neither of those options, or a few
variations on them, work.
Have you tried setting your TERM type to one that doesn't support
colour? That should stop all output being co
On Fri, 2003-11-14 at 14:36, Andrew Gaffney wrote:
> 'emerge --help | grep color' gives me nothing. Also, neither of those options, or a
> few
> variations on them, work.
Have you tried setting your TERM type to one that doesn't support
colour? That should stop all output being colourised (other
Spider wrote:
begin quote
On Fri, 14 Nov 2003 11:18:02 +0100
Norbert Kamenicky <[EMAIL PROTECTED]> wrote:
Andrew Gaffney wrote:
Is there a command line program or script I can filter something
through to remove color? For example, if I want to run 'emerge' and
get output with no color, how ca
Hall Stevenson wrote:
At 01:29 AM 11/14/2003, you wrote:
Is there a command line program or script I can filter something
through to remove color? For example, if I want to run 'emerge' and
get output with no color, how can I do this?
From memory
'emerge --no-color'
Check 'emerge --help' to
Norbert Kamenicky wrote:
Andrew Gaffney wrote:
Is there a command line program or script I can filter something
through to remove color? For example, if I want to run 'emerge' and
get output with no color, how can I do this?
It's really currious question ...
if I redirect the output of an "em
At 01:29 AM 11/14/2003, you wrote:
Is there a command line program or script I can filter something through
to remove color? For example, if I want to run 'emerge' and get output
with no color, how can I do this?
From memory
'emerge --no-color'
Check 'emerge --help' to be sure. It might be --no
begin quote
On Fri, 14 Nov 2003 11:18:02 +0100
Norbert Kamenicky <[EMAIL PROTECTED]> wrote:
> Andrew Gaffney wrote:
>
> > Is there a command line program or script I can filter something
> > through to remove color? For example, if I want to run 'emerge' and
> > get output with no color, how c
Andrew Gaffney wrote:
Is there a command line program or script I can filter something
through to remove color? For example, if I want to run 'emerge' and
get output with no color, how can I do this?
It's really currious question ...
if I redirect the output of an "emerge" to file or prog (ca
Is there a command line program or script I can filter something through to remove color?
For example, if I want to run 'emerge' and get output with no color, how can I do this?
--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list
20 matches
Mail list logo