blob: b6ff99465d691ed54c0cbefa6abda4ae4e4215dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/local/bin/sciteco -8qm
!*
* Replace all control characters with printable representations as in SciTECO.
* These characters are printed in reverse using ANSI escape sequences.
* This is especially useful as the diff textconv filter for Git as in
* git config --global diff.teco.textconv /usr/local/share/sciteco/lib/tecat.tes
*!
0,2EJ !* FIXME: Memory limiting may be too slow *!
:Q#1"> EBN#1 '
2 10011000000000Um
<Q*-1"=|%i-1A'Uc Qc:;
Qc-31"> Qc F< ' Qm&(2^*Qc)"N Qc F< '
[7m Qc-"=$|^,Qc#64' [27m
>
EX
|