On 12/21/2009 10:49 PM, Andre Courchesne wrote:
> I am running a script that parses log file using cat, grep, cut and I end-up 
> with ANSI shit like this:
>
> 501?[0;37;40m
>
> Where I should only have 501... I tried --color=never in grep, did not change 
> anything.
>
> When I cat a log file it colors it, anyone knows where I can disable this?
>
>    

escape the cmd

   \grep  something

   \ls  something
   \cat something

  the leading backslash briefly disables any alias that are set



_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca

Reply via email to