Literate programming/Bird conversion via sed
< Literate programming
Jump to navigation
Jump to search
Revision as of 17:23, 9 October 2006 by BrettGiles (talk | contribs) (Breaking out from main page of literate programming)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
# bird2code.sed ^> !p ^> { i\ \\begin{code} :loop N /\n>[^\n]*$/{ b loop } s/^> // s/\(\n\)> /\1/g s/\n$// a\ \\end{code}\ p }