[Swift-commit] r6783 - SwiftTutorials/ATPESC_2013-08-06

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Tue Aug 6 09:07:21 CDT 2013


Author: wozniak
Date: 2013-08-06 09:07:20 -0500 (Tue, 06 Aug 2013)
New Revision: 6783

Modified:
   SwiftTutorials/ATPESC_2013-08-06/build_docs.sh
Log:
Select useful part of script


Modified: SwiftTutorials/ATPESC_2013-08-06/build_docs.sh
===================================================================
--- SwiftTutorials/ATPESC_2013-08-06/build_docs.sh	2013-08-06 13:59:52 UTC (rev 6782)
+++ SwiftTutorials/ATPESC_2013-08-06/build_docs.sh	2013-08-06 14:07:20 UTC (rev 6783)
@@ -2,7 +2,9 @@
 
 pushd part11-swift-py-r/code >& /dev/null
 # Strip comments, blank lines; prepend shell prompt ($)
-grep -v -e "^$\|#" run-dets.sh | sed 's/^/$ /' > run-dets.sh.txt
+grep -A 20 stc run-dets.sh | \
+  grep -v -e "^$\|#" | \
+  sed 's/^/$ /' > run-dets.sh.txt
 popd >& /dev/null
 
 ~davidk/asciidoc-8.6.4/asciidoc -a toc -a toplevels=2 -a stylesheet=~davidk/swift-0.94/cog/modules/swift/docs/stylesheets/asciidoc.css -a max-width=800px -o tutorial.html README




More information about the Swift-commit mailing list