[arch-projects] [initscripts] [PATCH] Remove sed from bootlog_stop()

Tom Gundersen teg at jklm.no
Fri Jun 29 10:31:42 EDT 2012


Thanks!
On Jun 29, 2012 4:15 PM, "Florian Pritz" <bluewind at xinu.at> wrote:

> bootlogd from our sysvinit package now removes all escape codes directly so
> this (incomplete) sed call is no longer needed.
>
> Signed-off-by: Florian Pritz <bluewind at xinu.at>
> ---
>  functions | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/functions b/functions
> index 000cd60..16f8d8f 100644
> --- a/functions
> +++ b/functions
> @@ -588,8 +588,6 @@ bootlogd_stop() {
>        touch /var/log/boot
>        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/\^\[(\[1?[0-9][0-9]|%)G//g' -e 's/\^\[\[0;1//g'
>  /var/log/boot
>  }
>
>  ###############################
> --
> 1.7.11.1
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20120629/454a46b7/attachment.html>


More information about the arch-projects mailing list