[arch-projects] [PATCH] Clean up more ANSI codes from /var/log/boot (close FS#25682)

Eric Bélanger snowmaniscool at gmail.com
Sat Aug 20 07:26:38 EDT 2011


On Sat, Aug 20, 2011 at 7:16 AM, Tom Gundersen <teg at jklm.no> wrote:
> Thanks! I already commited this based on your comment in the bug
> reported (just forgot to push). Should be out there now.
>
> -t

Your fix is incomplete. It's missing the  -e 's/\^\[\[0;1//g' part.
BTW, why did you added me to the assignees if you had the intention of
doing the patch?


>
> On Sat, Aug 20, 2011 at 1:02 PM, Eric Bélanger <snowmaniscool at gmail.com> wrote:
>> Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
>> ---
>>  functions |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/functions b/functions
>> index bd05fa8..f68c088 100644
>> --- a/functions
>> +++ b/functions
>> @@ -435,7 +435,7 @@ bootlogd_stop() {
>>        kill $(< /run/bootlogd.pid)
>>        rm -f /run/bootlogd.pid
>>        sed -i -r -e 's/\^\[\[[0-9]?;?[0-9]?[0-9]?;?[0-9]?[0-9]?[ms]//g' \
>> -                                 -e 's/\^\[(\[151|%)G//g' /var/log/boot
>> +                 -e 's/\^\[(\[1[0-9]1|%)G//g' -e 's/\^\[\[0;1//g'  /var/log/boot
>>  }
>>
>>  ###############################
>> --
>> 1.7.6
>>
>>
>


More information about the arch-projects mailing list