/usr/share/doc/tklib/examples/diagrams/draw_anchor.tcl is in tklib 0.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | package require Tk
package require Diagrams
namespace import ::Diagrams::*
pack [canvas .c -width 200 -height 120 -bg white]
drawin .c
direction southeast
currentpos [position 20 20]
arrow "" 40
box " A "
direction southeast
currentpos [position 120 20]
arrow "" 40
attach northwest
box " B "
saveps anchor.ps
|