I frequently use a single Tiddler to group a bunch of examples on a related topic. For example, I may have one which groups examples for the sed command.
Here is an example: ! Installation You found a computer that doesn't come with it installed?? ! Examples !! Replacing in-place It seems like some systems don't behave well when you exclude the backup file location. Best to just include it and remove it afterwards. `sed -i.bak -e 's/hi/hello/g' *.go` !! Using Regex Groups You have to escape the parens that are part of the grouping. This example looks for an instance of `somethin` followed by any letter. It upper-cases the final letter and does not remove the `somethin`. `sed -i.bak -e 's/\(somethin\)\(.\)/\1\u\2/g' *.go` ! References * [[Official Manual|https://www.gnu.org/software/sed/manual/sed.html]] I would love to have a template which generates a table of contents based on the headings in a Tiddler and displays that TOC at the top of the tiddler when rendered. Does such a thing exist? Or what would be the simplest way of creating this if it does not. Thank you. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f92ea212-ad4e-4c7f-a069-fc1ad6612850%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

