Next: , Previous: LOCATE02 Database Format, Up: Database Formats


4.2.2 Sample LOCATE02 Database

Sample input to frcode:

     /usr/src
     /usr/src/cmd/aardvark.c
     /usr/src/cmd/armadillo.c
     /usr/tmp/zoo

Length of the longest prefix of the preceding entry to share:

     0 /usr/src
     8 /cmd/aardvark.c
     14 rmadillo.c
     5 tmp/zoo

Output from frcode, with trailing nulls changed to newlines and count bytes made printable:

     0 LOCATE02
     0 /usr/src
     8 /cmd/aardvark.c
     6 rmadillo.c
     -9 tmp/zoo

(6 = 14 - 8, and -9 = 5 - 14)