{ "version": 1, "width": 174, "height": 46, "duration": 96.915121, "command": null, "title": null, "env": { "TERM": "st-256color", "SHELL": "/bin/bash" }, "stdout": [ [ 0.021711, "[vm@parabola-playground md-toc-example]$ " ], [ 0.701525, "c" ], [ 0.175801, "a" ], [ 0.287948, "t" ], [ 0.112077, " " ], [ 0.199954, "f" ], [ 0.135943, "o" ], [ 0.140681, "o.md " ], [ 0.299307, "\r\n" ], [ 0.001273, "# This is an example!! !!\r\n\r\n##tHis is a title\r\n\r\nhello, everything fine?\r\n\r\n# Another title\r\n\r\nSome content\r\n\r\n## YeT aNoThEr TiTlE\r\n\r\n### Yet again, another title\r\n\r\nand yet more\r\ncontent\r\n!\r\n\r\n#### This will not be included in the table of contents...\r\n.\r\n\r\n\r\n\r\n" ], [ 0.00061, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "m" ], [ 0.175787, "d" ], [ 0.344011, "_" ], [ 0.280064, "t" ], [ 0.168105, "o" ], [ 0.196961, "c " ], [ 0.642996, "-" ], [ 0.303909, "h" ], [ 0.119967, "\r\n" ], [ 0.242997, "usage: md_toc [-h] [-v] {wtoc} ...\r\n\r\nMarkdown Table Of Contents\r\n\r\npositional arguments:\r\n {wtoc}\r\n wtoc write the table of contents\r\n\r\noptional arguments:\r\n -h, --help show this help message and exit\r\n -v, --version show program's version number and exit\r\n\r\nReturn values: 0 OK, 1 Error, 2 Invalid command\r\n" ], [ 0.015238, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "md_toc -h" ], [ 1.0, "\b\u001b[K" ], [ 0.159757, "\b\u001b[K" ], [ 0.816169, "w" ], [ 0.319837, "t" ], [ 0.224139, "o" ], [ 0.132767, "\u0007" ], [ 0.859283, "c" ], [ 0.196013, "\u0007" ], [ 0.363747, " " ], [ 0.256077, "-" ], [ 0.280066, "h" ], [ 0.215835, "\r\n" ], [ 0.240287, "usage: md_toc wtoc [-h] [-i] [-o] [-t TOC_MARKER] FILE_NAME\r\n\r\npositional arguments:\r\n FILE_NAME the i/o file name\r\n\r\noptional arguments:\r\n -h, --help show this help message and exit\r\n -i, --in-place overwrite the input file\r\n -o, --ordered write as an ordered list\r\n -t TOC_MARKER, --toc-marker TOC_MARKER\r\n set the string to be used as the marker for\r\n positioning the table of contents\r\n" ], [ 0.0166, "[vm@parabola-playground md-toc-example]$ " ], [ 0.775344, "md_toc wtoc -h" ], [ 0.807994, "\b\u001b[K" ], [ 0.200027, "\b\u001b[K" ], [ 1.0, "f" ], [ 0.439801, "o" ], [ 0.112034, "o" ], [ 0.173049, ".md " ], [ 0.45907, "\r\n" ], [ 0.245299, "[](TOC)\r\n\r\n- [This is an example!! !!](this-is-an-example)\r\n - [tHis is a title](this-is-a-title)\r\n- [Another title](another-title)\r\n - [YeT aNoThEr TiTlE](yet-another-title)\r\n - [Yet again, another title](yet-again-another-title)\r\n\r\n[](TOC)\r\n" ], [ 0.016554, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "md_toc wtoc foo.md " ], [ 1.0, "\b" ], [ 0.23189, "\b" ], [ 0.167936, "\b" ], [ 0.14406, "\b" ], [ 0.175852, "\b" ], [ 0.152064, "\b" ], [ 0.176012, "\b" ], [ 1.0, "\u001b[1@-" ], [ 1.0, "\u001b[1@o" ], [ 0.079807, "\u001b[1@ " ], [ 0.124099, "\r\n" ], [ 0.248641, "[](TOC)\r\n\r\n1. [This is an example!! !!](this-is-an-example)\r\n 1. [tHis is a title](this-is-a-title)\r\n2. [Another title](another-title)\r\n 2. [YeT aNoThEr TiTlE](yet-another-title)\r\n 1. [Yet again, another title](yet-again-another-title)\r\n\r\n[](TOC)\r\n" ], [ 0.016713, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "md_toc wtoc -o foo.md " ], [ 0.695849, "\b" ], [ 0.659365, "\b" ], [ 0.040625, "\b" ], [ 0.039654, "\b" ], [ 0.039678, "\b" ], [ 0.039992, "\b" ], [ 0.039936, "\b" ], [ 0.156676, "\b" ], [ 0.280248, "\b\u001b[1P" ], [ 0.808044, "\u001b[1@i" ], [ 0.607745, "\r\n" ], [ 0.247968, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "c" ], [ 0.184022, "a" ], [ 0.191886, "t" ], [ 0.176068, " " ], [ 1.0, "f" ], [ 0.212567, "oo.md " ], [ 0.331301, "\r\n" ], [ 0.001258, "# This is an example!! !!\r\n\r\n##tHis is a title\r\n\r\nhello, everything fine?\r\n\r\n# Another title\r\n\r\nSome content\r\n\r\n## YeT aNoThEr TiTlE\r\n\r\n### Yet again, another title\r\n\r\nand yet more\r\ncontent\r\n!\r\n\r\n#### This will not be included in the table of contents...\r\n.\r\n\r\n\r\n\r\n" ], [ 0.000583, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "n" ], [ 0.119663, "a" ], [ 0.103988, "n" ], [ 0.2081, "o" ], [ 0.103957, " " ], [ 0.175952, "f" ], [ 0.152043, "o" ], [ 0.141371, "o.md " ], [ 0.47467, "\r\n" ], [ 0.030674, "\u001b)0\u001b[?1049h\u001b[1;46r\u001b[0m\u001b[4l\u001b[?1h\u001b=" ], [ 0.000352, "\u001b[?1h\u001b=" ], [ 0.000254, "\u001b[?1h\u001b=" ], [ 0.000332, "\u001b[?25l" ], [ 0.000672, "\u001b[39;49m\u001b[39;49m\u001b[0m\u001b[H\u001b[2J\u001b[44;80H" ], [ 0.000257, "\u001b(B\u001b[0;7m[ Reading File ]" ], [ 0.000292, "\u001b[0m" ], [ 0.00037, "\u001b[44;79H" ], [ 0.000231, "\u001b(B\u001b[0;7m[ Read 23 lines ]" ], [ 0.000232, "\u001b[0m" ], [ 0.007813, "\u001b[H" ], [ 0.000364, "\u001b(B\u001b[0;7m GNU nano 2.9.1 foo.md \u001b[1;173H" ], [ 0.000312, "\u001b[0m" ], [ 0.000396, "\r\u001b[45d" ], [ 0.000277, "\u001b(B\u001b[0;7m^G\u001b[0m Get Help\u001b[18G" ], [ 0.000274, "\u001b(B\u001b[0;7m^O\u001b[0m Write Out \u001b(B\u001b[0;7m^W\u001b[0m Where Is\u001b[52G" ], [ 0.000241, "\u001b(B\u001b[0;7m^K\u001b[0m Cut Text\u001b[69G" ], [ 0.000209, "\u001b(B\u001b[0;7m^J\u001b[0m Justify\u001b[86G" ], [ 0.000208, "\u001b(B\u001b[0;7m^C\u001b[0m Cur Pos\u001b[103G" ], [ 0.000196, "\u001b(B\u001b[0;7mM-U\u001b[0m Undo\u001b[45;120H" ], [ 0.000216, "\u001b(B\u001b[0;7mM-A\u001b[0m Mark Text \u001b(B\u001b[0;7mM-]\u001b[0m To Bracket \u001b(B\u001b[0;7mM-▲\u001b[0m Previous\r\u001b[46d" ], [ 0.000196, "\u001b(B\u001b[0;7m^X\u001b[0m Exit\u001b[46;18H" ], [ 0.0002, "\u001b(B\u001b[0;7m^R\u001b[0m Read File \u001b(B\u001b[0;7m^\\\u001b[0m Replace\u001b[52G" ], [ 0.000201, "\u001b(B\u001b[0;7m^U\u001b[0m Uncut Text \u001b(B\u001b[0;7m^T\u001b[0m To Spell\u001b[86G" ], [ 0.000264, "\u001b(B\u001b[0;7m^_\u001b[0m Go To Line \u001b(B\u001b[0;7mM-E\u001b[0m Redo\u001b[46;120H" ], [ 0.000255, "\u001b(B\u001b[0;7mM-6\u001b[0m Copy Text \u001b(B\u001b[0;7mM-W\u001b[0m WhereIs Next \u001b(B\u001b[0;7mM-▼\u001b[0m Next\r\u001b[44d" ], [ 0.000992, "\u001b[3d" ], [ 0.000325, "\u001b[39;49m\u001b[36m# This is an example!! !!\r\u001b[5d" ], [ 0.000259, "##tHis is a title\r\u001b[7d" ], [ 0.00024, "\u001b[39;49m\u001b[0mhello, everything fine?\r\u001b[9d" ], [ 0.000238, "\u001b[36m# Another title\r\u001b[11d" ], [ 0.000205, "\u001b[39;49m\u001b[0mSome content\r\u001b[13d" ], [ 0.000216, "\u001b[36m## YeT aNoThEr TiTlE\r\u001b[15d" ], [ 0.000212, "### Yet again, another title\r\u001b[17d" ], [ 0.000208, "\u001b[39;49m\u001b[0mand yet more\r\u001b[18d" ], [ 0.000232, "content\r\u001b[19d" ], [ 0.000216, "!\u001b[21d\b" ], [ 5.5e-05, "\u001b[36m#### This will not be included in the table of contents...\r\u001b[22d" ], [ 4.1e-05, "\u001b[39;49m\u001b[0m.\u001b[3d\b" ], [ 3.3e-05, "\u001b[?12l\u001b[?25h" ], [ 0.719393, "\u001b[?25l" ], [ 9.2e-05, "\u001b[4d" ], [ 4.2e-05, "\u001b[?12l\u001b[?25h" ], [ 0.215588, "\u001b[?25l" ], [ 7.6e-05, "\u001b[5d" ], [ 3.9e-05, "\u001b[?12l\u001b[?25h" ], [ 0.351947, "\u001b[?25l" ], [ 8.3e-05, "\u001b[6d" ], [ 4.2e-05, "\u001b[?12l\u001b[?25h" ], [ 1.0, "\u001b[?25l" ], [ 9.5e-05, "\u001b[A" ], [ 4.2e-05, "\u001b[?12l\u001b[?25h" ], [ 0.175626, "\u001b[?25l" ], [ 7.3e-05, "\u001b[A" ], [ 4e-05, "\u001b[?12l\u001b[?25h" ], [ 0.223876, "\u001b[?25l" ], [ 0.000115, "\u001b[1;165H" ], [ 5.1e-05, "\u001b(B\u001b[0;7mModified" ], [ 3.8e-05, "\u001b[0m" ], [ 0.000866, "\u001b[4;43r\u001b[4;1H" ], [ 0.000207, "\u001bM\u001b[1;46r\u001b[5;1H" ], [ 3.8e-05, "\u001b[?12l\u001b[?25h" ], [ 0.150692, "\u001b[?25l" ], [ 0.000927, "\u001b[4;43r\u001b[4;1H" ], [ 0.000485, "\u001bM\u001b[1;46r\u001b[6;1H" ], [ 0.000283, "\u001b[?12l\u001b[?25h" ], [ 0.206344, "\u001b[?25l" ], [ 8.3e-05, "\u001b[A" ], [ 4.3e-05, "\u001b[?12l\u001b[?25h" ], [ 0.815844, "\u001b[?25l" ], [ 0.000127, "[" ], [ 4.4e-05, "\u001b[?12l\u001b[?25h" ], [ 0.207886, "\u001b[?25l" ], [ 0.000131, "]" ], [ 4.4e-05, "\u001b[?12l\u001b[?25h" ], [ 0.568563, "\u001b[?25l" ], [ 0.000125, "(" ], [ 4.3e-05, "\u001b[?12l\u001b[?25h" ], [ 0.278961, "\u001b[?25l" ], [ 0.000115, "T" ], [ 4.3e-05, "\u001b[?12l\u001b[?25h" ], [ 0.22396, "\u001b[?25l" ], [ 0.000117, "O" ], [ 4.2e-05, "\u001b[?12l\u001b[?25h" ], [ 0.207729, "\u001b[?25l" ], [ 0.000118, "C" ], [ 4.6e-05, "\u001b[?12l\u001b[?25h" ], [ 0.335927, "\u001b[?25l)\u001b[?12l\u001b[?25h" ], [ 0.992046, "\u001b[?25l\r\u001b[A\u001b[?12l\u001b[?25h" ], [ 0.752255, "\u001b[?25l\u001b[45;18H\u001b[26X\u001b[45;44H\u001b(B\u001b[0;7mM-D\u001b[0m DOS Format \u001b[69G \u001b[86G \u001b(B\u001b[0;7mM-A\u001b[0m Append\u001b[103G \u001b[45;120H \u001b(B\u001b[0;7mM-B\u001b[0m Backup File\u001b[K\u001b[46;2H\u001b(B\u001b[0;7mC\u001b[0m Cancel\u001b[46;18H\u001b[26X\u001b[46;44H\u001b(B\u001b[0;7mM-M\u001b[0m Mac Format\u001b[22X\u001b[46;86H \u001b(B\u001b[0;7mM-P\u001b[0m Prepend \u001b[46;120H \u001b(B\u001b[0;7m^T\u001b[0m To Files\u001b[K\r\u001b[44d\u001b(B\u001b[0;7mFile Name to Write: foo.md \u001b[44;1H\u001b[0m\u001b[44;27H\u001b[?12l\u001b[?25h" ], [ 0.224436, "\u001b[?25l\r\u001b[K\u001b[1;173H\u001b[44;79H\u001b(B\u001b[0;7m[ Wrote 25 lines ]\u001b[0m\u001b[1;165H\u001b(B\u001b[0;7m \u001b[0m" ], [ 0.000238, "\u001b[45;18H" ], [ 6.7e-05, "\u001b(B\u001b[0;7m^O\u001b[0m Write Out \u001b(B\u001b[0;7m^W\u001b[0m Where Is \u001b(B\u001b[0;7m^K\u001b[0m Cut Text\u001b[69G" ], [ 5.4e-05, "\u001b(B\u001b[0;7m^J\u001b[0m Justify\u001b[86G" ], [ 5.3e-05, "\u001b(B\u001b[0;7m^C\u001b[0m Cur Pos \u001b[103G" ], [ 5.5e-05, "\u001b(B\u001b[0;7mM-U\u001b[0m Undo\u001b[45;120H" ], [ 7.3e-05, "\u001b(B\u001b[0;7mM-A\u001b[0m Mark Text \u001b(B\u001b[0;7mM-]\u001b[0m To Bracket \u001b(B\u001b[0;7mM-▲\u001b[0m Previous\u001b[46;2H" ], [ 4.8e-05, "\u001b(B\u001b[0;7mX\u001b[0m Exit \u001b[46;18H" ], [ 6.5e-05, "\u001b(B\u001b[0;7m^R\u001b[0m Read File \u001b(B\u001b[0;7m^\\\u001b[0m Replace \u001b(B\u001b[0;7m^U\u001b[0m Uncut Text \u001b(B\u001b[0;7m^T\u001b[0m To Spell\u001b[86G" ], [ 9.3e-05, "\u001b(B\u001b[0;7m^_\u001b[0m Go To Line \u001b(B\u001b[0;7mM-E\u001b[0m Redo\u001b[46;120H" ], [ 7.3e-05, "\u001b(B\u001b[0;7mM-6\u001b[0m Copy Text \u001b(B\u001b[0;7mM-W\u001b[0m WhereIs Next \u001b(B\u001b[0;7mM-▼\u001b[0m Next\r\u001b[44d" ], [ 6.6e-05, "\u001b[4d" ], [ 4.1e-05, "\u001b[?12l\u001b[?25h" ], [ 0.622695, "\u001b[?25l\u001b[44d\u001b[J\u001b[46;174H\u001b[46;1H\u001b[?12l\u001b[?25h\u001b[?1049l\r\u001b[?1l\u001b>" ], [ 0.000298, "[vm@parabola-playground md-toc-example]$ " ], [ 0.951474, "nano foo.md " ], [ 0.175951, "\b\b\b\b\b\b\b\b\b\b\b\b\u001b[1Pcat\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C" ], [ 0.280047, "\b\b\b\b\b\b\b\b\b\b\b\u001b[11@md_toc wtoc -i\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C" ], [ 1.0, "\r\n" ], [ 0.260234, "[vm@parabola-playground md-toc-example]$ " ], [ 0.992157, "c" ], [ 0.159758, "a" ], [ 0.216001, "t" ], [ 0.096057, " " ], [ 0.175952, "f" ], [ 0.244896, "oo.md " ], [ 0.355231, "\r\n" ], [ 0.001349, "# This is an example!! !!\r\n\r\n[](TOC)\r\n\r\n- [This is an example!! !!](this-is-an-example)\r\n - [tHis is a title](this-is-a-title)\r\n- [Another title](another-title)\r\n - [YeT aNoThEr TiTlE](yet-another-title)\r\n - [Yet again, another title](yet-again-another-title)\r\n\r\n[](TOC)\r\n\r\n##tHis is a title\r\n\r\nhello, everything fine?\r\n\r\n# Another title\r\n\r\nSome content\r\n\r\n## YeT aNoThEr TiTlE\r\n\r\n### Yet again, another title\r\n\r\nand yet more\r\ncontent\r\n!\r\n\r\n#### This will not be included in the table of contents...\r\n.\r\n\r\n\r\n\r\n" ], [ 0.00067, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "n" ], [ 0.079865, "a" ], [ 0.096004, "n" ], [ 0.200029, "o" ], [ 0.167994, " " ], [ 0.191942, "f" ], [ 0.128021, "o" ], [ 0.20478, "o.md " ], [ 0.451291, "\r\n" ], [ 0.033926, "\u001b)0\u001b[?1049h\u001b[1;46r\u001b[0m\u001b[4l\u001b[?1h\u001b=" ], [ 0.000362, "\u001b[?1h\u001b=" ], [ 0.000265, "\u001b[?1h\u001b=" ], [ 0.000299, "\u001b[?25l" ], [ 0.000633, "\u001b[39;49m\u001b[39;49m\u001b[0m\u001b[H\u001b[2J\u001b[44;80H" ], [ 0.000271, "\u001b(B\u001b[0;7m[ Reading File ]" ], [ 0.000212, "\u001b[0m" ], [ 0.000342, "\u001b[44;79H" ], [ 0.000229, "\u001b(B\u001b[0;7m[ Read 33 lines ]" ], [ 0.000206, "\u001b[0m" ], [ 0.008238, "\u001b[H" ], [ 0.000345, "\u001b(B\u001b[0;7m GNU nano 2.9.1 foo.md \u001b[1;173H" ], [ 0.000252, "\u001b[0m" ], [ 0.000377, "\r\u001b[45d" ], [ 0.000282, "\u001b(B\u001b[0;7m^G\u001b[0m Get Help\u001b[18G" ], [ 0.000249, "\u001b(B\u001b[0;7m^O\u001b[0m Write Out \u001b(B\u001b[0;7m^W\u001b[0m Where Is\u001b[52G" ], [ 0.000313, "\u001b(B\u001b[0;7m^K\u001b[0m Cut Text\u001b[69G" ], [ 0.000271, "\u001b(B\u001b[0;7m^J\u001b[0m Justify\u001b[86G" ], [ 0.000242, "\u001b(B\u001b[0;7m^C\u001b[0m Cur Pos\u001b[103G" ], [ 0.00021, "\u001b(B\u001b[0;7mM-U\u001b[0m Undo\u001b[45;120H" ], [ 0.000264, "\u001b(B\u001b[0;7mM-A\u001b[0m Mark Text \u001b(B\u001b[0;7mM-]\u001b[0m To Bracket \u001b(B\u001b[0;7mM-▲\u001b[0m Previous\r\u001b[46d" ], [ 0.000309, "\u001b(B\u001b[0;7m^X\u001b[0m Exit\u001b[46;18H" ], [ 0.000303, "\u001b(B\u001b[0;7m^R\u001b[0m Read File \u001b(B\u001b[0;7m^\\\u001b[0m Replace\u001b[52G" ], [ 0.000251, "\u001b(B\u001b[0;7m^U\u001b[0m Uncut Text \u001b(B\u001b[0;7m^T\u001b[0m To Spell\u001b[86G" ], [ 0.000222, "\u001b(B\u001b[0;7m^_\u001b[0m Go To Line \u001b(B\u001b[0;7mM-E\u001b[0m Redo\u001b[46;120H" ], [ 0.000241, "\u001b(B\u001b[0;7mM-6\u001b[0m Copy Text \u001b(B\u001b[0;7mM-W\u001b[0m WhereIs Next \u001b(B\u001b[0;7mM-▼\u001b[0m Next\r\u001b[44d" ], [ 0.001037, "\u001b[3d" ], [ 0.000265, "\u001b[39;49m\u001b[36m# This is an example!! !!\r\u001b[5d" ], [ 0.000276, "\u001b[39;49m\u001b[0m[](TOC)\r\u001b[7d" ], [ 0.000242, "- [This is an example!! !!](this-is-an-example)\u001b[8;5H" ], [ 0.000247, "- [tHis is a title](this-is-a-title)\r\u001b[9d" ], [ 0.000216, "- [Another title](another-title)\u001b[10;5H" ], [ 0.000195, "- [YeT aNoThEr TiTlE](yet-another-title)\u001b[11;9H" ], [ 0.000218, "- [Yet again, another title](yet-again-another-title)\r\u001b[13d" ], [ 0.000228, "[](TOC)\r\u001b[15d" ], [ 4.8e-05, "\u001b[36m##tHis is a title\r\u001b[17d" ], [ 0.000231, "\u001b[39;49m\u001b[0mhello, everything fine?\r\u001b[19d" ], [ 4.9e-05, "\u001b[36m# Another title\r\u001b[21d" ], [ 4.4e-05, "\u001b[39;49m\u001b[0mSome content\r\u001b[23d" ], [ 4.6e-05, "\u001b[36m## YeT aNoThEr TiTlE\r\u001b[25d" ], [ 4.3e-05, "### Yet again, another title\r\u001b[27d" ], [ 4.4e-05, "\u001b[39;49m\u001b[0mand yet more\r\u001b[28d" ], [ 4.3e-05, "content\r\u001b[29d" ], [ 4.3e-05, "!\u001b[31d\b" ], [ 4.7e-05, "\u001b[36m#### This will not be included in the table of contents...\r\u001b[32d" ], [ 0.000177, "\u001b[39;49m\u001b[0m.\u001b[3d\b" ], [ 3.5e-05, "\u001b[?12l\u001b[?25h" ], [ 0.675063, "\u001b[?25l" ], [ 8.7e-05, "\u001b[4d" ], [ 4.2e-05, "\u001b[?12l\u001b[?25h" ], [ 0.191763, "\u001b[?25l" ], [ 8.1e-05, "\u001b[5d" ], [ 4.3e-05, "\u001b[?12l\u001b[?25h" ], [ 0.312003, "\u001b[?25l" ], [ 9.3e-05, "\u001b[6d" ], [ 4.4e-05, "\u001b[?12l\u001b[?25h" ], [ 0.175886, "\u001b[?25l" ], [ 9.8e-05, "\u001b[7d" ], [ 4.2e-05, "\u001b[?12l\u001b[?25h" ], [ 1.0, "\u001b[?25l" ], [ 0.000154, "\u001b[1;165H" ], [ 5.5e-05, "\u001b(B\u001b[0;7mModified" ], [ 4e-05, "\u001b[0m" ], [ 0.001053, "\u001b[7;43r\u001b[43;1H" ], [ 0.000203, "\n\u001b[1;46r\u001b[7;1H" ], [ 0.000425, "\u001b[?12l\u001b[?25h" ], [ 0.157964, "\u001b[?25l" ], [ 0.001014, "\u001b[7;43r\u001b[43;1H" ], [ 0.000471, "\n\u001b[1;46r\u001b[7;1H" ], [ 0.000287, "\u001b[?12l\u001b[?25h" ], [ 0.150286, "\u001b[?25l" ], [ 0.001008, "\u001b[7;43r\u001b[43;1H" ], [ 0.00044, "\n\u001b[1;46r\u001b[7;1H" ], [ 0.000307, "\u001b[?12l\u001b[?25h" ], [ 0.574322, "\u001b[?25l" ], [ 0.00127, "\u001b[7;43r\u001b[43;1H" ], [ 0.000575, "\n\u001b[1;46r\u001b[7;1H" ], [ 0.000376, "\u001b[?12l\u001b[?25h" ], [ 0.157676, "\u001b[?25l" ], [ 0.001192, "\u001b[7;43r\u001b[43;1H" ], [ 0.000464, "\n\u001b[1;46r\u001b[7;1H" ], [ 0.000294, "\u001b[?12l\u001b[?25h" ], [ 0.150049, "\u001b[?25l" ], [ 0.001125, "\u001b[6;43r\u001b[43;1H" ], [ 0.000453, "\n\u001b[1;46r\u001b[7;1H" ], [ 0.000293, "\u001b[?12l\u001b[?25h" ], [ 0.150173, "\u001b[?25l" ], [ 0.001225, "\u001b[7;43r\u001b[43;1H" ], [ 0.000499, "\n\u001b[1;46r\u001b[7;1H" ], [ 0.000424, "\u001b[?12l\u001b[?25h" ], [ 0.14983, "\u001b[?25l" ], [ 0.001195, "\u001b[6;43r\u001b[43;1H" ], [ 0.000509, "\n\u001b[1;46r\u001b[7;1H" ], [ 0.000404, "\u001b[?12l\u001b[?25h" ], [ 0.917952, "\u001b[?25l" ], [ 0.000453, "\u001b[45;18H" ], [ 0.000392, "\u001b[26X\u001b[45;44H" ], [ 7.6e-05, "\u001b(B\u001b[0;7mM-D\u001b[0m DOS Format \u001b[69G" ], [ 5.3e-05, " \u001b[86G" ], [ 7e-05, " \u001b(B\u001b[0;7mM-A\u001b[0m Append\u001b[103G" ], [ 7.2e-05, " \u001b[45;120H" ], [ 6.3e-05, " \u001b(B\u001b[0;7mM-B\u001b[0m Backup File\u001b[K\u001b[46;2H" ], [ 4.7e-05, "\u001b(B\u001b[0;7mC\u001b[0m Cancel\u001b[46;18H" ], [ 4.3e-05, "\u001b[26X\u001b[46;44H" ], [ 5.5e-05, "\u001b(B\u001b[0;7mM-M\u001b[0m Mac Format\u001b[22X\u001b[46;86H" ], [ 5.5e-05, " \u001b(B\u001b[0;7mM-P\u001b[0m Prepend \u001b[46;120H" ], [ 5.6e-05, " \u001b(B\u001b[0;7m^T\u001b[0m To Files\u001b[K\r\u001b[44d" ], [ 0.000107, "\u001b(B\u001b[0;7mFile Name to Write: foo.md \u001b[44;1H" ], [ 0.000352, "\u001b[0m" ], [ 5.9e-05, "\u001b[44;27H" ], [ 4e-05, "\u001b[?12l\u001b[?25h" ], [ 0.245917, "\u001b[?25l" ], [ 0.00018, "\r" ], [ 5.4e-05, "\u001b[K\u001b[1;173H" ], [ 0.000501, "\u001b[44;79H" ], [ 0.000179, "\u001b(B\u001b[0;7m[ Wrote 25 lines ]" ], [ 7.4e-05, "\u001b[0m" ], [ 8.8e-05, "\u001b[1;165H" ], [ 0.00058, "\u001b(B\u001b[0;7m " ], [ 4.4e-05, "\u001b[0m" ], [ 0.000197, "\u001b[45;18H" ], [ 8e-05, "\u001b(B\u001b[0;7m^O\u001b[0m Write Out \u001b(B\u001b[0;7m^W\u001b[0m Where Is \u001b(B\u001b[0;7m^K\u001b[0m Cut Text\u001b[69G" ], [ 5.5e-05, "\u001b(B\u001b[0;7m^J\u001b[0m Justify\u001b[86G" ], [ 5.4e-05, "\u001b(B\u001b[0;7m^C\u001b[0m Cur Pos \u001b[103G" ], [ 4.6e-05, "\u001b(B\u001b[0;7mM-U\u001b[0m Undo\u001b[45;120H" ], [ 7e-05, "\u001b(B\u001b[0;7mM-A\u001b[0m Mark Text \u001b(B\u001b[0;7mM-]\u001b[0m To Bracket \u001b(B\u001b[0;7mM-▲\u001b[0m Previous\u001b[46;2H" ], [ 4.9e-05, "\u001b(B\u001b[0;7mX\u001b[0m Exit \u001b[46;18H" ], [ 6.2e-05, "\u001b(B\u001b[0;7m^R\u001b[0m Read File \u001b(B\u001b[0;7m^\\\u001b[0m Replace \u001b(B\u001b[0;7m^U\u001b[0m Uncut Text \u001b(B\u001b[0;7m^T\u001b[0m To Spell\u001b[86G" ], [ 5e-05, "\u001b(B\u001b[0;7m^_\u001b[0m Go To Line \u001b(B\u001b[0;7mM-E\u001b[0m Redo\u001b[46;120H" ], [ 7.1e-05, "\u001b(B\u001b[0;7mM-6\u001b[0m Copy Text \u001b(B\u001b[0;7mM-W\u001b[0m WhereIs Next \u001b(B\u001b[0;7mM-▼\u001b[0m Next\r\u001b[44d" ], [ 5.6e-05, "\u001b[7d" ], [ 4e-05, "\u001b[?12l\u001b[?25h" ], [ 0.50946, "\u001b[?25l" ], [ 0.000176, "\u001b[44d" ], [ 7e-05, "\u001b[J\u001b[46;174H" ], [ 4.7e-05, "\u001b[46;1H\u001b[?12l\u001b[?25h" ], [ 3.8e-05, "\u001b[?1049l\r\u001b[?1l\u001b>" ], [ 0.000932, "[vm@parabola-playground md-toc-example]$ " ], [ 0.382891, "nano foo.md " ], [ 0.351996, "\b\b\b\b\b\b\b\b\b\b\b\b\u001b[1Pcat\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C" ], [ 1.0, "\b\b\b\b\b\b\b\b\b\b\b\u001b[11@md_toc wtoc -i\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C" ], [ 1.0, "\b" ], [ 0.659758, "\b" ], [ 0.039658, "\b" ], [ 0.040607, "\b" ], [ 0.039445, "\b" ], [ 0.040003, "\b" ], [ 0.124395, "\b" ], [ 0.288028, "\b" ], [ 0.280297, "\b\u001b[1P" ], [ 0.399852, "\u001b[1@h" ], [ 0.231806, "\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C" ], [ 0.248007, "\b\u001b[K" ], [ 0.144079, "\b\u001b[K" ], [ 0.143928, "\b\u001b[K" ], [ 0.159962, "\b\u001b[K" ], [ 0.144003, "\b\u001b[K" ], [ 0.151999, "\b\u001b[K" ], [ 0.128092, "\b\u001b[K" ], [ 0.162521, "\r\n" ], [ 0.252692, "usage: md_toc wtoc [-h] [-i] [-o] [-t TOC_MARKER] FILE_NAME\r\n\r\npositional arguments:\r\n FILE_NAME the i/o file name\r\n\r\noptional arguments:\r\n -h, --help show this help message and exit\r\n -i, --in-place overwrite the input file\r\n -o, --ordered write as an ordered list\r\n -t TOC_MARKER, --toc-marker TOC_MARKER\r\n set the string to be used as the marker for\r\n positioning the table of contents\r\n" ], [ 0.014831, "[vm@parabola-playground md-toc-example]$ " ], [ 0.481991, "md_toc wtoc -h " ], [ 0.640028, "\b" ], [ 0.176065, "\b" ], [ 0.295819, "\u001b[C" ], [ 0.352225, "\b\u001b[1P \b" ], [ 1.0, "i \b" ], [ 1.0, "\u001b[C \b" ], [ 1.0, "- \b" ], [ 0.335869, "io \b" ], [ 0.535908, "\b\u001b[1P \b" ], [ 0.1359, "\b\u001b[1P \b" ], [ 0.592174, "o \b" ], [ 0.55969, "\r\n" ], [ 0.253784, "usage: md_toc wtoc [-h] [-i] [-o] [-t TOC_MARKER] FILE_NAME\r\n" ], [ 0.000403, "md_toc wtoc: error: the following arguments are required: FILE_NAME\r\n" ], [ 0.017619, "[vm@parabola-playground md-toc-example]$ " ], [ 0.720237, "md_toc wtoc -i -o " ], [ 0.119938, " " ], [ 0.592127, "f" ], [ 0.197618, "oo.md " ], [ 0.31425, "\r\n" ], [ 0.256418, "[vm@parabola-playground md-toc-example]$ " ], [ 0.567639, "md_toc wtoc -i -o foo.md " ], [ 0.151931, "\b\b\b\b\b\b\b\b\u001b[K" ], [ 0.304319, "\b\b\b\b\b\u001b[3Ph\u001b[C" ], [ 0.295809, "\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\u001b[3Pnano foo.md\u001b[C" ], [ 0.511997, "\r\n" ], [ 0.034358, "\u001b)0\u001b[?1049h\u001b[1;46r\u001b[0m\u001b[4l\u001b[?1h\u001b=" ], [ 0.000387, "\u001b[?1h\u001b=" ], [ 0.000267, "\u001b[?1h\u001b=" ], [ 0.000265, "\u001b[?25l" ], [ 0.000627, "\u001b[39;49m\u001b[39;49m\u001b[0m\u001b[H\u001b[2J\u001b[44;80H" ], [ 0.000258, "\u001b(B\u001b[0;7m[ Reading File ]" ], [ 0.000276, "\u001b[0m" ], [ 0.000356, "\u001b[44;79H" ], [ 0.00025, "\u001b(B\u001b[0;7m[ Read 33 lines ]" ], [ 0.000322, "\u001b[0m" ], [ 0.008222, "\u001b[H" ], [ 0.000365, "\u001b(B\u001b[0;7m GNU nano 2.9.1 foo.md \u001b[1;173H" ], [ 0.000261, "\u001b[0m" ], [ 0.000385, "\r\u001b[45d" ], [ 0.000277, "\u001b(B\u001b[0;7m^G\u001b[0m Get Help\u001b[18G" ], [ 0.000263, "\u001b(B\u001b[0;7m^O\u001b[0m Write Out \u001b(B\u001b[0;7m^W\u001b[0m Where Is\u001b[52G" ], [ 0.000281, "\u001b(B\u001b[0;7m^K\u001b[0m Cut Text\u001b[69G" ], [ 0.000207, "\u001b(B\u001b[0;7m^J\u001b[0m Justify\u001b[86G" ], [ 0.000227, "\u001b(B\u001b[0;7m^C\u001b[0m Cur Pos\u001b[103G" ], [ 0.000226, "\u001b(B\u001b[0;7mM-U\u001b[0m Undo\u001b[45;120H" ], [ 0.000216, "\u001b(B\u001b[0;7mM-A\u001b[0m Mark Text \u001b(B\u001b[0;7mM-]\u001b[0m To Bracket \u001b(B\u001b[0;7mM-▲\u001b[0m Previous\r\u001b[46d" ], [ 0.000198, "\u001b(B\u001b[0;7m^X\u001b[0m Exit\u001b[46;18H" ], [ 0.000214, "\u001b(B\u001b[0;7m^R\u001b[0m Read File \u001b(B\u001b[0;7m^\\\u001b[0m Replace\u001b[52G" ], [ 0.000203, "\u001b(B\u001b[0;7m^U\u001b[0m Uncut Text \u001b(B\u001b[0;7m^T\u001b[0m To Spell\u001b[86G" ], [ 0.000196, "\u001b(B\u001b[0;7m^_\u001b[0m Go To Line \u001b(B\u001b[0;7mM-E\u001b[0m Redo\u001b[46;120H" ], [ 0.000234, "\u001b(B\u001b[0;7mM-6\u001b[0m Copy Text \u001b(B\u001b[0;7mM-W\u001b[0m WhereIs Next \u001b(B\u001b[0;7mM-▼\u001b[0m Next\r\u001b[44d" ], [ 0.000998, "\u001b[3d" ], [ 0.000216, "\u001b[39;49m\u001b[36m# This is an example!! !!\r\u001b[5d" ], [ 0.000202, "\u001b[39;49m\u001b[0m[](TOC)\r\u001b[7d" ], [ 0.000211, "1. [This is an example!! !!](this-is-an-example)\u001b[8;5H" ], [ 0.000208, "1. [tHis is a title](this-is-a-title)\r\u001b[9d" ], [ 0.000214, "2. [Another title](another-title)\u001b[10;5H" ], [ 0.000206, "2. [YeT aNoThEr TiTlE](yet-another-title)\u001b[11;9H" ], [ 0.000199, "1. [Yet again, another title](yet-again-another-title)\r\u001b[13d" ], [ 0.000205, "[](TOC)\r\u001b[15d" ], [ 0.000208, "\u001b[36m##tHis is a title\r\u001b[17d" ], [ 0.000212, "\u001b[39;49m\u001b[0mhello, everything fine?\r\u001b[19d" ], [ 0.000229, "\u001b[36m# Another title\r\u001b[21d" ], [ 0.000225, "\u001b[39;49m\u001b[0mSome content\r\u001b[23d" ], [ 5.1e-05, "\u001b[36m## YeT aNoThEr TiTlE\r\u001b[25d" ], [ 4.4e-05, "### Yet again, another title\r\u001b[27d" ], [ 4.5e-05, "\u001b[39;49m\u001b[0mand yet more\r\u001b[28d" ], [ 4.2e-05, "content\r\u001b[29d" ], [ 4.2e-05, "!\u001b[31d\b" ], [ 4.8e-05, "\u001b[36m#### This will not be included in the table of contents...\r\u001b[32d" ], [ 0.000199, "\u001b[39;49m\u001b[0m.\u001b[3d\b" ], [ 3.6e-05, "\u001b[?12l\u001b[?25h" ], [ 1.0, "\u001b[?25l" ], [ 9.3e-05, "\u001b[4d" ], [ 4.3e-05, "\u001b[?12l\u001b[?25h" ], [ 0.215777, "\u001b[?25l" ], [ 8.4e-05, "\u001b[5d" ], [ 4.3e-05, "\u001b[?12l\u001b[?25h" ], [ 0.359998, "\u001b[?25l" ], [ 8.8e-05, "\u001b[6d" ], [ 4.3e-05, "\u001b[?12l\u001b[?25h" ], [ 0.159863, "\u001b[?25l" ], [ 9.1e-05, "\u001b[7d" ], [ 4.2e-05, "\u001b[?12l\u001b[?25h" ], [ 0.919931, "\u001b[?25l" ], [ 0.000139, "\u001b[1;165H" ], [ 5.2e-05, "\u001b(B\u001b[0;7mModified" ], [ 4e-05, "\u001b[0m" ], [ 0.001053, "\u001b[7;43r\u001b[43;1H" ], [ 0.000201, "\n\u001b[1;46r\u001b[7;1H" ], [ 4e-05, "\u001b[?12l\u001b[?25h" ], [ 1.0, "\u001b[?25l" ], [ 0.001096, "\u001b[6;43r\u001b[6;1H" ], [ 0.000396, "\u001bM\u001b[1;46r\u001b[7;1H" ], [ 0.000444, "1. [This is an example!! !!](this-is-an-example)\r\u001b[8d" ], [ 0.000315, "\u001b[?12l\u001b[?25h" ], [ 1.0, "\u001b[?25l" ], [ 0.000185, "\u001b[44d" ], [ 7e-05, "\u001b(B\u001b[0;7mSave modified buffer? (Answering \"No\" will DISCARD changes.) \u001b[45;1H" ], [ 4.3e-05, " Y\u001b[0m Ye" ], [ 5.6e-05, "s\u001b[K\r\u001b[46d" ], [ 4.8e-05, "\u001b(B\u001b[0;7m N\u001b[0m No \u001b[46;17H" ], [ 5e-05, "\u001b(B\u001b[0;7m^C\u001b[0m Cancel\u001b[K\u001b[44;63H" ], [ 3.9e-05, "\u001b[?12l\u001b[?25h" ], [ 1.0, "\u001b[?25l" ], [ 0.000165, "\r" ], [ 7.1e-05, "\u001b[J\u001b[46;174H" ], [ 4.7e-05, "\u001b[46;1H\u001b[?12l\u001b[?25h" ], [ 3.8e-05, "\u001b[?1049l\r\u001b[?1l\u001b>" ], [ 0.000918, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "n" ], [ 0.151829, "a" ], [ 0.079945, "n" ], [ 0.256012, "o" ], [ 0.096045, " " ], [ 0.236486, "foo.md " ], [ 0.128483, "foo.md " ], [ 0.48311, "\b\u001b[K" ], [ 0.659885, "\b\u001b[K" ], [ 0.03978, "\b\u001b[K" ], [ 0.040706, "\b\u001b[K" ], [ 0.039393, "\b\u001b[K" ], [ 0.039976, "\b\u001b[K" ], [ 0.040726, "\b\u001b[K" ], [ 0.039626, "\b\u001b[K" ], [ 0.039629, "\b\u001b[K" ], [ 0.039962, "\b\u001b[K" ], [ 0.040885, "\b\u001b[K" ], [ 0.040632, "\b\u001b[K" ], [ 0.039537, "\b\u001b[K" ], [ 0.039968, "\b\u001b[K" ], [ 0.040678, "\b\u001b[K" ], [ 0.039658, "\b\u001b[K" ], [ 0.039661, "\b\u001b[K" ], [ 0.040669, "\b\u001b[K" ], [ 0.039677, "\b\u001b[K" ], [ 0.039699, "\u0007" ], [ 0.03996, "\u0007" ], [ 0.040013, "\u0007" ], [ 0.611142, "l" ], [ 0.088012, "s" ], [ 0.114815, "\r\n" ], [ 0.000966, "foo.md\r\n" ], [ 0.000572, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "c" ], [ 0.152039, "a" ], [ 0.335823, "t" ], [ 0.087956, " " ], [ 0.216073, "f" ], [ 0.14405, "o" ], [ 0.164917, "o.md " ], [ 0.283159, "\r\n" ], [ 0.001352, "# This is an example!! !!\r\n\r\n[](TOC)\r\n\r\n1. [This is an example!! !!](this-is-an-example)\r\n 1. [tHis is a title](this-is-a-title)\r\n2. [Another title](another-title)\r\n 2. [YeT aNoThEr TiTlE](yet-another-title)\r\n 1. [Yet again, another title](yet-again-another-title)\r\n\r\n[](TOC)\r\n\r\n##tHis is a title\r\n\r\nhello, everything fine?\r\n\r\n# Another title\r\n\r\nSome content\r\n\r\n## YeT aNoThEr TiTlE\r\n\r\n### Yet again, another title\r\n\r\nand yet more\r\ncontent\r\n!\r\n\r\n#### This will not be included in the table of contents...\r\n.\r\n\r\n\r\n\r\n" ], [ 0.000744, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "m" ], [ 0.18381, "d" ], [ 0.101047, "\u0007" ], [ 0.962982, "_" ], [ 0.280019, "t" ], [ 0.220642, "oc " ], [ 1.0, "-" ], [ 0.39193, "i" ], [ 0.167958, " " ], [ 0.368106, "\b\u001b[K" ], [ 0.151921, "\b\u001b[K" ], [ 0.495965, "\b\u001b[K" ], [ 1.0, "f" ], [ 0.19994, "o" ], [ 0.244678, "o.md " ], [ 0.78733, "\r\n" ], [ 0.247531, "usage: md_toc [-h] [-v] {wtoc} ...\r\n" ], [ 0.000491, "md_toc: error: argument command: invalid choice: 'foo.md' (choose from 'wtoc')\r\n" ], [ 0.016368, "[vm@parabola-playground md-toc-example]$ " ], [ 1.0, "md_toc foo.md " ], [ 0.311727, "\b" ], [ 0.168094, "\b" ], [ 0.660141, "\b" ], [ 0.040658, "\b" ], [ 0.040624, "\b" ], [ 0.039537, "\b" ], [ 0.03999, "\b" ], [ 0.040622, "\b" ], [ 0.674686, "\u001b[C\u001b[1@ \b" ], [ 0.672032, "\u001b[1@w" ], [ 0.599887, "\u001b[1@t" ], [ 0.191891, "\u001b[1@o" ], [ 0.184201, "\u001b[1@c" ], [ 0.535835, "\r\n" ], [ 0.251695, "[](TOC)\r\n\r\n- [This is an example!! !!](this-is-an-example)\r\n - [tHis is a title](this-is-a-title)\r\n- [Another title](another-title)\r\n - [YeT aNoThEr TiTlE](yet-another-title)\r\n - [Yet again, another title](yet-again-another-title)\r\n\r\n[](TOC)\r\n" ], [ 0.014912, "[vm@parabola-playground md-toc-example]$ " ] ] }