#
# keep in sync with bootlog.css in different skins
#
#
# escape html entities
#
s,&,\&,g
s,<,\<,g
s,>,\>,g
#
# eat beeps
#
s,\\007,,g
#
# initial formatting
#
s,^,
\
,
s,$, | \
,
# switch year and time and create seperate columns for date and time
# 11:41:01 2008: -> ..200811:41:01 |
s,\([0-9][0-9]:[0-9][0-9]:[0-9][0-9]\)[[:space:]]\+\([0-9]\+\): ,\2\
\1 | \
,
#
# color coding - known colors:
#
# ebegin
s, | \^\[\[32;01m\*\^\[\[0m \^\[\[36;01m *\(\[.*\]\)\^\[\[0m , | \1 ,
# eend 0
s, | \^\[\[A\^\[\[[0-9]\+C \^\[\[34;01m\[ \^\[\[32;01mOK\^\[\[34;01m \]\^\[\[0m, | \[ OK \],
# eend != 0 (warning only)
s, | \^\[\[A\^\[\[[0-9]\+C \^\[\[34;01m\[ \^\[\[33;01m!!\^\[\[34;01m \]\^\[\[0m, | \[ !! \],
# eend != 0
s, | \^\[\[A\^\[\[[0-9]\+C \^\[\[34;01m\[ \^\[\[31;01m!!\^\[\[34;01m \]\^\[\[0m, | \[ !! \],
# einfo
s, | \^\[\[32;01m\*\^\[\[0m , | ,
# ewarn
s, | \^\[\[33;01m\*\^\[\[0m , | ,
# eerror
s, | \^\[\[31;01m\*\^\[\[0m , | ,
# 0 0 br ^[[0m ^[[49m ^[[1m
s, | \^\[\[0m\^\[\[49m\^\[\[1m, | (unknown color type) ,
# rd 0 br ^[[31m ^[[49m ^[[1m
s, | \^\[\[31m\^\[\[49m\^\[\[1m, | (unknown color type) ,
# br b br ^[[33m ^[[40m ^[[1m
s, | \^\[\[33m\^\[\[40m\^\[\[1m, | (unknown color type) ,
# br 0 br ^[[33m ^[[49m ^[[1m
# br x br ^[[33m ^[[49m ^[[1m
s, | \^\[\[33m\^\[\[49m\^\[\[1m, | ,
# bl x br ^[[34m ^[[49m ^[[1m
s, | \^\[\[34m\^\[\[49m\^\[\[1m, | (unknown color type) ,
# w b br ^[[37m ^[[40m ^[[1m
s, | \^\[\[37m\^\[\[40m\^\[\[1m, | (unknown color type) ,
# w n br ^[[37m ^[[49m ^[[1m
s, | \^\[\[37m\^\[\[49m\^\[\[1m, | (unknown color type) ,
# b gn ^[[30m ^[[42m
s, | \^\[\[30m\^\[\[42m, | (unknown color type) ,
# b rd ^[[30m ^[[41m
s, | \^\[\[30m\^\[\[41m, | (unknown color type) ,
# rd ^[[31m ^[[49m
s, | \^\[\[31m\^\[\[49m, | ,
# gn ^[[32m ^[[49m
s, | \^\[\[32m\^\[\[49m, | ,
# br x ^[[33m ^[[49m
s, | \^\[\[33m\^\[\[49m, | (unknown color type) ,
# cy ^[[36m ^[[49m
s, | \^\[\[36m\^\[\[49m, | ,
# set -x debug output
s, | + , | + ,
s, | , | ,
# terminating "switch to std"
s,\^\[\[0m,,
|