Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
LAPUMGR(1)			Tokyo Dystopia			    LAPUMGR(1)

       lapumgr - the command line utility of the simple	API

       The command `lapumgr' is	a utility for test and debugging of the	simple
       API and its applications.  `path' specifies the path of a database  di-
       rectory.	  `ernum'  specifies  the expected number of records.  `etnum'
       specifies the expected number of	tokens.	 `id' specifies	the ID	number
       of  a record.  `text' specifies the text	of a record.  `word' specifies
       a search	word.  `file' specifies	the input file.

	      lapumgr create [-tl] [-td|-tb|-tt] path [ernum [etnum]]
		     Create a database directory.
	      lapumgr inform [-nl|-nb] path
		     Print miscellaneous information to	the standard output.
	      lapumgr put [-nl|-nb] path id text
		     Store a record.
	      lapumgr out [-nl|-nb] path id
		     Remove a record.
	      lapumgr get [-nl|-nb] path id
		     Print the text of a record.
	      lapumgr search [-nl|-nb] [-eu|-ei|-ed] [-sm|-sp|-ss] [-max  num]
	      [-ph] [-pv] path [word...]
		     Search for	records.
	      lapumgr list [-nl|-nb] [-max num]	[-pv] path
		     Print ID numbers of all records.
	      lapumgr optimize [-nl|-nb] path
		     Optimize a	database directory.
	      lapumgr importtsv	[-ic num] [-nl|-nb] path [file]
		     Store records of TSV in each line of a file.
	      lapumgr version
		     Print the version information of Tokyo Dystopia.

       Options feature the following.

	      -tl : enable the option `JDBTLARGE'.
	      -td : enable the option `JDBTDEFLATE'.
	      -tb : enable the option `JDBTBZIP'.
	      -tt : enable the option `JDBTTCBS'.
	      -nl : enable the option `JDBNOLCK'.
	      -nb : enable the option `JDBLCKNB'.
	      -eu : use	the union expression.
	      -ei : use	the intersection expression.
	      -ed : use	the difference expression.
	      -sm : use	the substring matching mode.
	      -sp : use	the prefix matching mode.
	      -ss : use	the suffix matching mode.
	      -max num : specify the maximum number of the output.
	      -ph : print hints	also.
	      -pv : print texts	of records also.
	      -ic num :	specify	the capacity size of the token cache.

       This command returns 0 on success, another on failure.

       laputest(1), laputa(3)

Man Page			  2010-08-05			    LAPUMGR(1)


Want to link to this manual page? Use this URL:

home | help