···1HI THERE
23-Welcome to ${GRN}shlide${RST}. Here are a few bullet points:
45- first point
6- second point
7 * sub point
8- * another sub point
···1HI THERE
23+Welcome to ${GRN}shlide${RST}. ${YLW}Here${RST} are a few bullet points:
45- first point
6- second point
7 * sub point
8+ * ${RED}another${RST} sub point
+5-2
shlide
···20}
2122longest_line() {
23- max=0 IFS=
024 while read -r line; do
25- if [ "${#line}" -gt "$max" ]; then max="${#line}"; fi
0026 done < "$1"
27 printf '%s\n' "$max"
28}
···20}
2122longest_line() {
23+ max=0
24+ local IFS=
25 while read -r line; do
26+ l=$(ansi_filter $(colorify "$line"))
27+ echo "$l" >> log.txt
28+ if [ "${#l}" -gt "$max" ]; then max="${#l}"; fi
29 done < "$1"
30 printf '%s\n' "$max"
31}