A user asked why
linsert $list 0 ..
did not result in .. being inserted into list.
email@example.com (Jesper Blommaskog) replied:
When doing list operations other than lappend, you must save the
returned value. This applies to list, lindex, lrange, lreplace at
In this example, you would perhaps want to do something like:
set list [ linsert $list 0 .. ]