Cog transforms files in a very simple way: it finds chunks of Python code embedded in them, executes the Python code, and inserts its output back into the original file. The file can contain whatever text you like around the Python code. It will usually be source code. Author: Ned Batchelder WWW: http://www.nedbatchelder.com/code/cog/index.html git' href='https://www.tfcis.org/~lantw44/git/freebsd-ports-graphics' title='freebsd-ports-graphics Git repository'/> <link rel='vcs-git' href='https://www.lant.com.tw/~lantw44/git/freebsd-ports-graphics' title='freebsd-ports-graphics Git repository'/> <link rel='vcs-git' href='https://phantom.tfcis.org/~lantw44/git/freebsd-ports-graphics' title='freebsd-ports-graphics Git repository'/> <link rel='vcs-git' href='https://www.csie.ntu.edu.tw/~b01902062/git/freebsd-ports-graphics' title='freebsd-ports-graphics Git repository'/> </head> <body> <div id='cgit'><table id='header'> <tr> <td class='logo' rowspan='2'><a href='/~lantw44/cgit/cgit.cgi/'><img src='/~lantw44/cgit-data/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/~lantw44/cgit/cgit.cgi/'>index</a> : <a title='freebsd-ports-graphics' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>freebsd-ports-graphics</a></td><td class='form'><form method='get'> <select name='h' onchange='this.form.submit();'> <option value='master'>master</option> <option value='mesa-next' selected='selected'>mesa-next</option> <option value='wayland'>wayland</option> <option value='xorg-server-1.19.6'>xorg-server-1.19.6</option> <option value='xserver-next'>xserver-next</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)</td><td class='sub right'></td></tr></table> <table class='tabs'><tr><td> <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/about/'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/refs/'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/x11-fonts/encodings/pkg-descr'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/tree/x11-fonts/encodings/pkg-descr'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/x11-fonts/encodings/pkg-descr'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/diff/x11-fonts/encodings/pkg-descr'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/stats/x11-fonts/encodings/pkg-descr'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/x11-fonts/encodings/pkg-descr'> <select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/x11-fonts'>x11-fonts</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/x11-fonts/encodings'>encodings</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/x11-fonts/encodings/pkg-descr'>pkg-descr</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/x11-fonts/encodings/pkg-descr?showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>