On 2009-01-13, Spiro Trikaliotis wrote:
> * On Tue, Jan 13, 2009 at 07:17:34PM +0100 Gerhard Schromm wrote:
>> Wenn du GREP_OPTIONS='color=auto' setzst, besteht das Problem noch?
> Eher GREP_OPTIONS='--color=auto', sonst wird grep immer einen
> Fehler melden...
Hey super, damit klappt's ohne ohne Probleme. Sowohl das Postgre update-alternatives, als auch ein update-grub laufen so wunderbar durch. Hab mir nochmal die Erklärung zu "auto" angeschaut, und weiß gar nicht warum ich das übersehen konnte:
With --color=auto, grep will highlight the
matching portion of the line in color when it outputs to a _terminal_,
while avoiding the use of any potentially-harmful terminal control
sequences when standard output goes somewhere else (like a file or pipe).
Danke an euch beide
Gruß
Mika