[Assorted-commits] SF.net SVN: assorted: [871] shell-tools/trunk/src/tabs2bullets.py
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-07-03 19:57:22
|
Revision: 871 http://assorted.svn.sourceforge.net/assorted/?rev=871&view=rev Author: yangzhang Date: 2008-07-03 12:57:23 -0700 (Thu, 03 Jul 2008) Log Message: ----------- added some notes to tabs2bullets Modified Paths: -------------- shell-tools/trunk/src/tabs2bullets.py Modified: shell-tools/trunk/src/tabs2bullets.py =================================================================== --- shell-tools/trunk/src/tabs2bullets.py 2008-07-03 19:51:47 UTC (rev 870) +++ shell-tools/trunk/src/tabs2bullets.py 2008-07-03 19:57:23 UTC (rev 871) @@ -1,5 +1,11 @@ #!/usr/bin/env python +""" +Given an outline where the indentation is specified by the number of leading +tab characters, output the same outline but with tabs replaced by double spaces +followed by a leading bullet. +""" + from re import compile, sub from sys import stdin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |