Artifact 252ecb7fe6467854f2aa237bf2c390b74e71f100:
- File
ext/fts3/mkfts3amal.tcl
— part of check-in
[72411043]
at
2008-01-31 13:35:49
on branch trunk
— Version number to 3.5.5. Include FTS3 in the amalgamation by default
(but disabled unless compiled with -DSQLITE_ENABLE_FTS3). Fix a memory
allocation problem. (CVS 4757)
(user:
drh
size: 3378)
[more...]
0000: 23 21 2f 75 73 72 2f 62 69 6e 2f 74 63 6c 73 68 #!/usr/bin/tclsh
0010: 0a 23 0a 23 20 54 68 69 73 20 73 63 72 69 70 74 .#.# This script
0020: 20 62 75 69 6c 64 73 20 61 20 73 69 6e 67 6c 65 builds a single
0030: 20 43 20 63 6f 64 65 20 66 69 6c 65 20 68 6f 6c C code file hol
0040: 64 69 6e 67 20 61 6c 6c 20 6f 66 20 46 54 53 33 ding all of FTS3
0050: 20 63 6f 64 65 2e 0a 23 20 54 68 65 20 6e 61 6d code..# The nam
0060: 65 20 6f 66 20 74 68 65 20 6f 75 74 70 75 74 20 e of the output
0070: 66 69 6c 65 20 69 73 20 66 74 73 33 61 6d 61 6c file is fts3amal
0080: 2e 63 2e 20 20 54 6f 20 62 75 69 6c 64 20 74 68 .c. To build th
0090: 69 73 20 66 69 6c 65 2c 0a 23 20 66 69 72 73 74 is file,.# first
00a0: 20 64 6f 3a 0a 23 0a 23 20 20 20 20 20 20 6d 61 do:.#.# ma
00b0: 6b 65 20 74 61 72 67 65 74 5f 73 6f 75 72 63 65 ke target_source
00c0: 0a 23 0a 23 20 54 68 65 20 6d 61 6b 65 20 74 61 .#.# The make ta
00d0: 72 67 65 74 20 61 62 6f 76 65 20 6d 6f 76 65 73 rget above moves
00e0: 20 61 6c 6c 20 6f 66 20 74 68 65 20 73 6f 75 72 all of the sour
00f0: 63 65 20 63 6f 64 65 20 66 69 6c 65 73 20 69 6e ce code files in
0100: 74 6f 0a 23 20 61 20 73 75 62 64 69 72 65 63 74 to.# a subdirect
0110: 6f 72 79 20 6e 61 6d 65 64 20 22 74 73 72 63 22 ory named "tsrc"
0120: 2e 20 20 28 54 68 69 73 20 73 63 72 69 70 74 20 . (This script
0130: 65 78 70 65 63 74 73 20 74 6f 20 66 69 6e 64 20 expects to find
0140: 74 68 65 20 66 69 6c 65 73 0a 23 20 74 68 65 72 the files.# ther
0150: 65 20 61 6e 64 20 77 69 6c 6c 20 6e 6f 74 20 77 e and will not w
0160: 6f 72 6b 20 69 66 20 74 68 65 79 20 61 72 65 20 ork if they are
0170: 6e 6f 74 20 66 6f 75 6e 64 2e 29 0a 23 0a 23 20 not found.).#.#
0180: 41 66 74 65 72 20 74 68 65 20 22 74 73 72 63 22 After the "tsrc"
0190: 20 64 69 72 65 63 74 6f 72 79 20 68 61 73 20 62 directory has b
01a0: 65 65 6e 20 63 72 65 61 74 65 64 20 61 6e 64 20 een created and
01b0: 70 6f 70 75 6c 61 74 65 64 2c 20 72 75 6e 0a 23 populated, run.#
01c0: 20 74 68 69 73 20 73 63 72 69 70 74 3a 0a 23 0a this script:.#.
01d0: 23 20 20 20 20 20 20 74 63 6c 73 68 20 6d 6b 66 # tclsh mkf
01e0: 74 73 33 61 6d 61 6c 2e 74 63 6c 0a 23 0a 23 20 ts3amal.tcl.#.#
01f0: 54 68 65 20 61 6d 61 6c 67 61 6d 61 74 65 64 20 The amalgamated
0200: 46 54 53 33 20 63 6f 64 65 20 77 69 6c 6c 20 62 FTS3 code will b
0210: 65 20 77 72 69 74 74 65 6e 20 69 6e 74 6f 20 66 e written into f
0220: 74 73 33 61 6d 61 6c 2e 63 0a 23 0a 0a 23 20 4f ts3amal.c.#..# O
0230: 70 65 6e 20 74 68 65 20 6f 75 74 70 75 74 20 66 pen the output f
0240: 69 6c 65 20 61 6e 64 20 77 72 69 74 65 20 61 20 ile and write a
0250: 68 65 61 64 65 72 20 63 6f 6d 6d 65 6e 74 20 61 header comment a
0260: 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 0a t the beginning.
0270: 23 20 6f 66 20 74 68 65 20 66 69 6c 65 2e 0a 23 # of the file..#
0280: 0a 73 65 74 20 6f 75 74 20 5b 6f 70 65 6e 20 66 .set out [open f
0290: 74 73 33 61 6d 61 6c 2e 63 20 77 5d 0a 73 65 74 ts3amal.c w].set
02a0: 20 74 6f 64 61 79 20 5b 63 6c 6f 63 6b 20 66 6f today [clock fo
02b0: 72 6d 61 74 20 5b 63 6c 6f 63 6b 20 73 65 63 6f rmat [clock seco
02c0: 6e 64 73 5d 20 2d 66 6f 72 6d 61 74 20 22 25 59 nds] -format "%Y
02d0: 2d 25 6d 2d 25 64 20 25 48 3a 25 4d 3a 25 53 20 -%m-%d %H:%M:%S
02e0: 55 54 43 22 20 2d 67 6d 74 20 31 5d 0a 70 75 74 UTC" -gmt 1].put
02f0: 73 20 24 6f 75 74 20 5b 73 75 62 73 74 20 5c 0a s $out [subst \.
0300: 7b 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a {/**************
0310: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0320: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0330: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0340: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0350: 0a 2a 2a 20 54 68 69 73 20 66 69 6c 65 20 69 73 .** This file is
0360: 20 61 6e 20 61 6d 61 6c 67 61 6d 61 74 69 6f 6e an amalgamation
0370: 20 6f 66 20 73 65 70 61 72 61 74 65 20 43 20 73 of separate C s
0380: 6f 75 72 63 65 20 66 69 6c 65 73 20 66 72 6f 6d ource files from
0390: 20 74 68 65 20 53 51 4c 69 74 65 0a 2a 2a 20 46 the SQLite.** F
03a0: 75 6c 6c 20 54 65 78 74 20 53 65 61 72 63 68 20 ull Text Search
03b0: 65 78 74 65 6e 73 69 6f 6e 20 32 20 28 66 74 73 extension 2 (fts
03c0: 33 29 2e 20 20 42 79 20 63 6f 6d 62 69 6e 69 6e 3). By combinin
03d0: 67 20 61 6c 6c 20 74 68 65 20 69 6e 64 69 76 69 g all the indivi
03e0: 64 75 61 6c 20 43 20 0a 2a 2a 20 63 6f 64 65 20 dual C .** code
03f0: 20 66 69 6c 65 73 20 69 6e 74 6f 20 74 68 69 73 files into this
0400: 20 73 69 6e 67 6c 65 20 6c 61 72 67 65 20 66 69 single large fi
0410: 6c 65 2c 20 74 68 65 20 65 6e 74 69 72 65 20 63 le, the entire c
0420: 6f 64 65 20 63 61 6e 20 62 65 20 63 6f 6d 70 69 ode can be compi
0430: 6c 65 64 20 0a 2a 2a 20 61 73 20 61 20 6f 6e 65 led .** as a one
0440: 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 75 6e 69 translation uni
0450: 74 2e 20 20 54 68 69 73 20 61 6c 6c 6f 77 73 20 t. This allows
0460: 6d 61 6e 79 20 63 6f 6d 70 69 6c 65 72 73 20 74 many compilers t
0470: 6f 20 64 6f 20 6f 70 74 69 6d 69 7a 61 74 69 6f o do optimizatio
0480: 6e 73 0a 2a 2a 20 74 68 61 74 20 77 6f 75 6c 64 ns.** that would
0490: 20 6e 6f 74 20 62 65 20 70 6f 73 73 69 62 6c 65 not be possible
04a0: 20 69 66 20 74 68 65 20 66 69 6c 65 73 20 77 65 if the files we
04b0: 72 65 20 63 6f 6d 70 69 6c 65 64 20 73 65 70 61 re compiled sepa
04c0: 72 61 74 65 6c 79 2e 20 20 49 74 20 61 6c 73 6f rately. It also
04d0: 0a 2a 2a 20 6d 61 6b 65 73 20 74 68 65 20 63 6f .** makes the co
04e0: 64 65 20 65 61 73 69 65 72 20 74 6f 20 69 6d 70 de easier to imp
04f0: 6f 72 74 20 69 6e 74 6f 20 6f 74 68 65 72 20 70 ort into other p
0500: 72 6f 6a 65 63 74 73 2e 0a 2a 2a 0a 2a 2a 20 54 rojects..**.** T
0510: 68 69 73 20 61 6d 61 6c 67 61 6d 61 74 69 6f 6e his amalgamation
0520: 20 77 61 73 20 67 65 6e 65 72 61 74 65 64 20 6f was generated o
0530: 6e 20 24 74 6f 64 61 79 2e 0a 2a 2f 7d 5d 0a 0a n $today..*/}]..
0540: 23 20 54 68 65 73 65 20 61 72 65 20 74 68 65 20 # These are the
0550: 68 65 61 64 65 72 20 66 69 6c 65 73 20 75 73 65 header files use
0560: 64 20 62 79 20 46 54 53 33 2e 20 20 54 68 65 20 d by FTS3. The
0570: 66 69 72 73 74 20 74 69 6d 65 20 61 6e 79 20 6f first time any o
0580: 66 20 74 68 65 73 65 20 0a 23 20 66 69 6c 65 73 f these .# files
0590: 20 61 72 65 20 73 65 65 6e 20 69 6e 20 61 20 23 are seen in a #
05a0: 69 6e 63 6c 75 64 65 20 73 74 61 74 65 6d 65 6e include statemen
05b0: 74 20 69 6e 20 74 68 65 20 43 20 63 6f 64 65 2c t in the C code,
05c0: 20 69 6e 63 6c 75 64 65 20 74 68 65 20 63 6f 6d include the com
05d0: 70 6c 65 74 65 0a 23 20 74 65 78 74 20 6f 66 20 plete.# text of
05e0: 74 68 65 20 66 69 6c 65 20 69 6e 2d 6c 69 6e 65 the file in-line
05f0: 2e 20 20 54 68 65 20 66 69 6c 65 20 6f 6e 6c 79 . The file only
0600: 20 6e 65 65 64 73 20 74 6f 20 62 65 20 69 6e 63 needs to be inc
0610: 6c 75 64 65 64 20 6f 6e 63 65 2e 0a 23 0a 66 6f luded once..#.fo
0620: 72 65 61 63 68 20 68 64 72 20 7b 0a 20 20 20 66 reach hdr {. f
0630: 74 73 33 2e 68 0a 20 20 20 66 74 73 33 5f 68 61 ts3.h. fts3_ha
0640: 73 68 2e 68 0a 20 20 20 66 74 73 33 5f 74 6f 6b sh.h. fts3_tok
0650: 65 6e 69 7a 65 72 2e 68 0a 20 20 20 73 71 6c 69 enizer.h. sqli
0660: 74 65 33 2e 68 0a 20 20 20 73 71 6c 69 74 65 33 te3.h. sqlite3
0670: 65 78 74 2e 68 0a 7d 20 7b 0a 20 20 73 65 74 20 ext.h.} {. set
0680: 61 76 61 69 6c 61 62 6c 65 5f 68 64 72 28 24 68 available_hdr($h
0690: 64 72 29 20 31 0a 7d 0a 0a 23 20 37 38 20 73 74 dr) 1.}..# 78 st
06a0: 61 72 73 20 75 73 65 64 20 66 6f 72 20 63 6f 6d ars used for com
06b0: 6d 65 6e 74 20 66 6f 72 6d 61 74 74 69 6e 67 2e ment formatting.
06c0: 0a 73 65 74 20 73 37 38 20 5c 0a 7b 2a 2a 2a 2a .set s78 \.{****
06d0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
06e0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
06f0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0700: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ****************
0710: 2a 2a 2a 2a 2a 2a 2a 2a 2a 7d 0a 0a 23 20 49 6e *********}..# In
0720: 73 65 72 74 20 61 20 63 6f 6d 6d 65 6e 74 20 69 sert a comment i
0730: 6e 74 6f 20 74 68 65 20 63 6f 64 65 0a 23 0a 70 nto the code.#.p
0740: 72 6f 63 20 73 65 63 74 69 6f 6e 5f 63 6f 6d 6d roc section_comm
0750: 65 6e 74 20 7b 74 65 78 74 7d 20 7b 0a 20 20 67 ent {text} {. g
0760: 6c 6f 62 61 6c 20 6f 75 74 20 73 37 38 0a 20 20 lobal out s78.
0770: 73 65 74 20 6e 20 5b 73 74 72 69 6e 67 20 6c 65 set n [string le
0780: 6e 67 74 68 20 24 74 65 78 74 5d 0a 20 20 73 65 ngth $text]. se
0790: 74 20 6e 73 74 61 72 20 5b 65 78 70 72 20 7b 36 t nstar [expr {6
07a0: 30 20 2d 20 24 6e 7d 5d 0a 20 20 73 65 74 20 73 0 - $n}]. set s
07b0: 74 61 72 73 20 5b 73 74 72 69 6e 67 20 72 61 6e tars [string ran
07c0: 67 65 20 24 73 37 38 20 30 20 24 6e 73 74 61 72 ge $s78 0 $nstar
07d0: 5d 0a 20 20 70 75 74 73 20 24 6f 75 74 20 22 2f ]. puts $out "/
07e0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 20 24 ************** $
07f0: 74 65 78 74 20 24 73 74 61 72 73 2f 22 0a 7d 0a text $stars/".}.
0800: 0a 23 20 52 65 61 64 20 74 68 65 20 73 6f 75 72 .# Read the sour
0810: 63 65 20 66 69 6c 65 20 6e 61 6d 65 64 20 24 66 ce file named $f
0820: 69 6c 65 6e 61 6d 65 20 61 6e 64 20 77 72 69 74 ilename and writ
0830: 65 20 69 74 20 69 6e 74 6f 20 74 68 65 0a 23 20 e it into the.#
0840: 73 71 6c 69 74 65 33 2e 63 20 6f 75 74 70 75 74 sqlite3.c output
0850: 20 66 69 6c 65 2e 20 20 49 66 20 61 6e 79 20 23 file. If any #
0860: 69 6e 63 6c 75 64 65 20 73 74 61 74 65 6d 65 6e include statemen
0870: 74 73 20 61 72 65 20 73 65 65 6e 2c 0a 23 20 70 ts are seen,.# p
0880: 72 6f 63 65 73 73 20 74 68 65 6d 20 61 70 70 72 rocess them appr
0890: 6f 70 72 61 74 65 6c 79 2e 0a 23 0a 70 72 6f 63 oprately..#.proc
08a0: 20 63 6f 70 79 5f 66 69 6c 65 20 7b 66 69 6c 65 copy_file {file
08b0: 6e 61 6d 65 7d 20 7b 0a 20 20 67 6c 6f 62 61 6c name} {. global
08c0: 20 73 65 65 6e 5f 68 64 72 20 61 76 61 69 6c 61 seen_hdr availa
08d0: 62 6c 65 5f 68 64 72 20 6f 75 74 0a 20 20 73 65 ble_hdr out. se
08e0: 74 20 74 61 69 6c 20 5b 66 69 6c 65 20 74 61 69 t tail [file tai
08f0: 6c 20 24 66 69 6c 65 6e 61 6d 65 5d 0a 20 20 73 l $filename]. s
0900: 65 63 74 69 6f 6e 5f 63 6f 6d 6d 65 6e 74 20 22 ection_comment "
0910: 42 65 67 69 6e 20 66 69 6c 65 20 24 74 61 69 6c Begin file $tail
0920: 22 0a 20 20 73 65 74 20 69 6e 20 5b 6f 70 65 6e ". set in [open
0930: 20 24 66 69 6c 65 6e 61 6d 65 20 72 5d 0a 20 20 $filename r].
0940: 77 68 69 6c 65 20 7b 21 5b 65 6f 66 20 24 69 6e while {![eof $in
0950: 5d 7d 20 7b 0a 20 20 20 20 73 65 74 20 6c 69 6e ]} {. set lin
0960: 65 20 5b 67 65 74 73 20 24 69 6e 5d 0a 20 20 20 e [gets $in].
0970: 20 69 66 20 7b 5b 72 65 67 65 78 70 20 7b 5e 23 if {[regexp {^#
0980: 5c 73 2a 69 6e 63 6c 75 64 65 5c 73 2b 5b 22 3c \s*include\s+["<
0990: 5d 28 5b 5e 22 3e 5d 2b 29 5b 22 3e 5d 7d 20 24 ]([^">]+)[">]} $
09a0: 6c 69 6e 65 20 61 6c 6c 20 68 64 72 5d 7d 20 7b line all hdr]} {
09b0: 0a 20 20 20 20 20 20 69 66 20 7b 5b 69 6e 66 6f . if {[info
09c0: 20 65 78 69 73 74 73 20 61 76 61 69 6c 61 62 6c exists availabl
09d0: 65 5f 68 64 72 28 24 68 64 72 29 5d 7d 20 7b 0a e_hdr($hdr)]} {.
09e0: 20 20 20 20 20 20 20 20 69 66 20 7b 24 61 76 61 if {$ava
09f0: 69 6c 61 62 6c 65 5f 68 64 72 28 24 68 64 72 29 ilable_hdr($hdr)
0a00: 7d 20 7b 0a 20 20 20 20 20 20 20 20 20 20 73 65 } {. se
0a10: 63 74 69 6f 6e 5f 63 6f 6d 6d 65 6e 74 20 22 49 ction_comment "I
0a20: 6e 63 6c 75 64 65 20 24 68 64 72 20 69 6e 20 74 nclude $hdr in t
0a30: 68 65 20 6d 69 64 64 6c 65 20 6f 66 20 24 74 61 he middle of $ta
0a40: 69 6c 22 0a 20 20 20 20 20 20 20 20 20 20 63 6f il". co
0a50: 70 79 5f 66 69 6c 65 20 74 73 72 63 2f 24 68 64 py_file tsrc/$hd
0a60: 72 0a 20 20 20 20 20 20 20 20 20 20 73 65 63 74 r. sect
0a70: 69 6f 6e 5f 63 6f 6d 6d 65 6e 74 20 22 43 6f 6e ion_comment "Con
0a80: 74 69 6e 75 69 6e 67 20 77 68 65 72 65 20 77 65 tinuing where we
0a90: 20 6c 65 66 74 20 6f 66 66 20 69 6e 20 24 74 61 left off in $ta
0aa0: 69 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 il". }.
0ab0: 20 20 20 20 7d 20 65 6c 73 65 69 66 20 7b 21 5b } elseif {![
0ac0: 69 6e 66 6f 20 65 78 69 73 74 73 20 73 65 65 6e info exists seen
0ad0: 5f 68 64 72 28 24 68 64 72 29 5d 7d 20 7b 0a 20 _hdr($hdr)]} {.
0ae0: 20 20 20 20 20 20 20 73 65 74 20 73 65 65 6e 5f set seen_
0af0: 68 64 72 28 24 68 64 72 29 20 31 0a 20 20 20 20 hdr($hdr) 1.
0b00: 20 20 20 20 70 75 74 73 20 24 6f 75 74 20 24 6c puts $out $l
0b10: 69 6e 65 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 ine. }.
0b20: 7d 20 65 6c 73 65 69 66 20 7b 5b 72 65 67 65 78 } elseif {[regex
0b30: 70 20 7b 5e 23 69 66 64 65 66 20 5f 5f 63 70 6c p {^#ifdef __cpl
0b40: 75 73 70 6c 75 73 7d 20 24 6c 69 6e 65 5d 7d 20 usplus} $line]}
0b50: 7b 0a 20 20 20 20 20 20 70 75 74 73 20 24 6f 75 {. puts $ou
0b60: 74 20 22 23 69 66 20 30 22 0a 20 20 20 20 7d 20 t "#if 0". }
0b70: 65 6c 73 65 69 66 20 7b 5b 72 65 67 65 78 70 20 elseif {[regexp
0b80: 7b 5e 23 6c 69 6e 65 7d 20 24 6c 69 6e 65 5d 7d {^#line} $line]}
0b90: 20 7b 0a 20 20 20 20 20 20 23 20 53 6b 69 70 20 {. # Skip
0ba0: 23 6c 69 6e 65 20 64 69 72 65 63 74 69 76 65 73 #line directives
0bb0: 2e 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 .. } else {.
0bc0: 20 20 20 20 20 70 75 74 73 20 24 6f 75 74 20 24 puts $out $
0bd0: 6c 69 6e 65 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 line. }. }.
0be0: 20 63 6c 6f 73 65 20 24 69 6e 0a 20 20 73 65 63 close $in. sec
0bf0: 74 69 6f 6e 5f 63 6f 6d 6d 65 6e 74 20 22 45 6e tion_comment "En
0c00: 64 20 6f 66 20 24 74 61 69 6c 22 0a 7d 0a 0a 0a d of $tail".}...
0c10: 23 20 50 72 6f 63 65 73 73 20 74 68 65 20 73 6f # Process the so
0c20: 75 72 63 65 20 66 69 6c 65 73 2e 20 20 50 72 6f urce files. Pro
0c30: 63 65 73 73 20 66 69 6c 65 73 20 63 6f 6e 74 61 cess files conta
0c40: 69 6e 69 6e 67 20 63 6f 6d 6d 6f 6e 6c 79 0a 23 ining commonly.#
0c50: 20 75 73 65 64 20 73 75 62 72 6f 75 74 69 6e 65 used subroutine
0c60: 73 20 66 69 72 73 74 20 69 6e 20 6f 72 64 65 72 s first in order
0c70: 20 74 6f 20 68 65 6c 70 20 74 68 65 20 63 6f 6d to help the com
0c80: 70 69 6c 65 72 20 66 69 6e 64 0a 23 20 69 6e 6c piler find.# inl
0c90: 69 6e 69 6e 67 20 6f 70 70 6f 72 74 75 6e 69 74 ining opportunit
0ca0: 69 65 73 2e 0a 23 0a 66 6f 72 65 61 63 68 20 66 ies..#.foreach f
0cb0: 69 6c 65 20 7b 0a 20 20 20 66 74 73 33 2e 63 0a ile {. fts3.c.
0cc0: 20 20 20 66 74 73 33 5f 68 61 73 68 2e 63 0a 20 fts3_hash.c.
0cd0: 20 20 66 74 73 33 5f 70 6f 72 74 65 72 2e 63 0a fts3_porter.c.
0ce0: 20 20 20 66 74 73 33 5f 74 6f 6b 65 6e 69 7a 65 fts3_tokenize
0cf0: 72 2e 63 0a 20 20 20 66 74 73 33 5f 74 6f 6b 65 r.c. fts3_toke
0d00: 6e 69 7a 65 72 31 2e 63 0a 7d 20 7b 0a 20 20 63 nizer1.c.} {. c
0d10: 6f 70 79 5f 66 69 6c 65 20 74 73 72 63 2f 24 66 opy_file tsrc/$f
0d20: 69 6c 65 0a 7d 0a 0a 63 6c 6f 73 65 20 24 6f 75 ile.}..close $ou
0d30: 74 0a t.