Skip to content

Commit f8d14cd

Browse files
committed
ansi2html.sh: fixup stale comments
1 parent a7b151f commit f8d14cd

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

scripts/ansi2html.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,14 @@ s#\r\$## # strip trailing \r
191191
s#[\x07]##g
192192
s#\x1b[]>=\][0-9;]*##g
193193
s#\x1bP+.\{5\}##g
194-
# Mark cursor positioning codes <LA>Jr;c;
194+
# Mark cursor positioning codes \"Jr;c;
195195
s#${p}\([0-9]\{1,2\}\)G#\"J;\1;#g
196196
s#${p}\([0-9]\{1,2\}\);\([0-9]\{1,2\}\)H#\"J\1;\2;#g
197197
198-
# Mark clear as <LA>n where n=1 is screen and n=0 is to end-of-line
198+
# Mark clear as \"Cn where n=1 is screen and n=0 is to end-of-line
199199
s#${p}H#\"C1;#g
200200
s#${p}K#\"C0;#g
201-
# Mark Cursor move columns as <LA>Mn where n is +ve for right, -ve for left
201+
# Mark Cursor move columns as \"Mn where n is +ve for right, -ve for left
202202
s#${p}C#\"M1;#g
203203
s#${p}\([0-9]\{1,\}\)C#\"M\1;#g
204204
s#${p}\([0-9]\{1,\}\)D#\"M-\1;#g
@@ -234,7 +234,7 @@ s#${p}¬\([34]8;5;[0-9]\{1,3\}\)m#${p}\1m#g;
234234
s#${p}9\([0-7]\)m#${p}3\1m${p}1m#g;
235235
s#${p}10\([0-7]\)m#${p}4\1m${p}1m#g;
236236
237-
# change 'reset' code to <LA>R
237+
# change 'reset' code to \"R
238238
s#${p}0m#\"R;#g
239239
" |
240240

@@ -486,7 +486,6 @@ END {
486486
print dump_screen();
487487
}
488488
}'
489-
# sed -e 's/[ĢΩ¡µ]//g' -e 's/β[^;]*;[^;]*;//g' # just strip aternative flag chars
490489
)
491490

492491
printf '</pre>

0 commit comments

Comments
 (0)