From d53e540f6c382a2fb50edfe034305ec972303d0f Mon Sep 17 00:00:00 2001 From: crc Date: Tue, 22 Sep 2020 15:54:04 +0000 Subject: [PATCH] toolchain: add comments to retro-unu.py FossilOrigin-Name: b64bddd72a1fbf4cf3ec6c2011187fc3594722ec82d1ad0602b1b3f2d4be8779 --- tools/retro-unu.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/retro-unu.py b/tools/retro-unu.py index bed787d..5a4815f 100755 --- a/tools/retro-unu.py +++ b/tools/retro-unu.py @@ -1,5 +1,17 @@ #!/usr/bin/env python3 +# retro-unu is a tool for extracting code from literate sources. It +# will write output to stdout. +# +# A code block starts with ~~~ on a line by itself and ends with a +# second ~~~. +# +# Copyright (c)2020, Charles Childers +# +# Usage: +# +# retro-unu.py filename + import sys if __name__ == "__main__":