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

Tom Gundersen teg at jklm.no
Sat Aug 20 07:16:29 EDT 2011


Thanks! I already commited this based on your comment in the bug
reported (just forgot to push). Should be out there now.

-t

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