From 71fe1590598381588502e58b60622b0b72d79454 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 24 Sep 2011 22:50:46 +0200 Subject: bootlog: clean some more ANSI codes I was getting "^[71G", this fixed it. Signed-off-by: Tom Gundersen --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index 0eb905f..ab6d9ae 100644 --- a/functions +++ b/functions @@ -466,7 +466,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/\^\[(\[1[0-9]1|%)G//g' -e 's/\^\[\[0;1//g' /var/log/boot + -e 's/\^\[(\[1?[0-9]1|%)G//g' -e 's/\^\[\[0;1//g' /var/log/boot } ############################### -- cgit v1.2.3