Thanks Mal, That's correct. This line <$list filter="""[<item>split[]rest[$n$]join[]]""" variable="newTitle">
creates two 1, I expect to send only one as output! Note <$list filter="1 1 2 3"> returns 1 2 3 NOT 1 1 2 3. Also this line a you said does not detect the tiddler existed <$list filter="[<newTitle>] -[has[title]] -[[]]" variable="ignore"> So, as it proceeds, it create tiddler 1 from *a1* and in the second loop it overwrites it by removing b from* b1 * I tried to display intermediate results and strangely it overwrites the result of previous run! --Mohammad On Monday, February 18, 2019 at 2:23:47 PM UTC+3:30, Mal wrote: > > Mohammad, > > I've been experimenting to try to figure out why this isn't working, but > have not yet succeeded. > > It seems that on the second pass through the inner list the filter is not > detecting that we've already created a tiddler with the "1" title, so it > goes ahead and creates another one that overwrites the first. > > Note that I tried an alternative to your "[<newTitle>] -[has[title]] > -[[]]" filter, using "[<newTitle>!is[tiddler]]" instead, but it had the > same problem. > > Hopefully, someone with a better understanding of the inner workings of > TiddlyWiki will be able to explain the problem. > > Mal > > -- 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/e7a59432-8a60-42b9-a45b-7f4acd20c977%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

