Artifact
c5a0dc140eb39199dd669f68a98cd10e39ca76a0:
Attachment "testit" to
ticket [3561500fff]
added by
ddburns
2012-08-25 09:12:21.
0000: 23 20 53 63 72 69 70 74 20 74 6f 20 63 68 65 63 # Script to chec
0010: 6b 20 22 66 6f 72 6d 61 74 22 20 70 72 6f 62 6c k "format" probl
0020: 65 6d 0d 0a 70 75 74 73 20 73 74 64 6f 75 74 20 em..puts stdout
0030: 22 27 66 6f 72 6d 61 74 27 20 74 65 73 74 20 73 "'format' test s
0040: 63 72 69 70 74 22 0d 0a 23 0d 0a 70 75 74 73 20 cript"..#..puts
0050: 73 74 64 6f 75 74 20 22 74 63 6c 5f 70 61 74 63 stdout "tcl_patc
0060: 68 4c 65 76 65 6c 20 3d 20 24 74 63 6c 5f 70 61 hLevel = $tcl_pa
0070: 74 63 68 4c 65 76 65 6c 22 0d 0a 70 61 72 72 61 tchLevel"..parra
0080: 79 20 74 63 6c 5f 70 6c 61 74 66 6f 72 6d 0d 0a y tcl_platform..
0090: 23 0d 0a 70 75 74 73 20 73 74 64 6f 75 74 20 22 #..puts stdout "
00a0: 5c 6e 53 65 74 74 69 6e 67 20 78 20 3d 20 20 20 \nSetting x =
00b0: 20 20 20 20 20 20 20 20 20 5c 22 5b 73 65 74 20 \"[set
00c0: 78 20 22 2d 30 2e 30 30 30 22 5d 5c 22 22 0d 0a x "-0.000"]\""..
00d0: 70 75 74 73 20 73 74 64 6f 75 74 20 22 46 6f 72 puts stdout "For
00e0: 6d 61 74 74 69 6e 67 20 78 20 74 6f 20 25 39 2e matting x to %9.
00f0: 33 66 3a 20 5c 22 5b 66 6f 72 6d 61 74 20 25 39 3f: \"[format %9
0100: 2e 33 66 20 24 78 5d 5c 22 5c 6e 22 0d 0a .3f $x]\"\n"..