Commit Graph

13 Commits

Author SHA1 Message Date
lukem 21271b283d When vis encoding with -S, only remove the trailing NUL if -N isn't used and
the item's size is > 0.
2004-10-04 10:56:12 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun 4f228a52dc safer use of realloc 2003-10-16 06:45:22 +00:00
aymeric 9bdcb47acd add missing #ifdef __RCSID
(these files are compiled as host tools)
from Nicolas Ollinger, fixes PR#21892
2003-06-23 20:02:53 +00:00
wiz 3443db5bce Sync usage with man page; break to 80 chars/line. 2003-05-20 08:34:52 +00:00
seb c4cd748ebd Add option -S to specify strvis(3) encoding of keys and/or values
when reading a database.  Add options -T and -X to tweak encoding.

Add option -U to specify strunvis(3) decoding of keys and/or values
when writing a database or deleting entries from a database.

Kill TODO item 'add option to strunvis(3) key (& value) from infile
?': unvis(1) can be used to achieve that.

Approved by lukem@. And thanks to him for suggestions.
2003-05-19 00:27:06 +00:00
seb a74ab65529 Fix usage message and SYNOPSIS section wrt to option O as suggested by wiz. 2003-01-05 13:07:38 +00:00
seb 28089a8457 After discussion with lukem rename 's' option to 'O'.
Hopefully 's' option has been here only a couple of hours.
2002-12-29 18:42:49 +00:00
seb da890ac594 Fix error message for option `F' when passed a bogus argument.
Actually activate option `F' in getopt's optstring.
Implement option `s' to specify output field separator string.

Approved by lukem.
2002-12-29 11:17:04 +00:00
lukem 64fd31222b fix -E endian 2002-12-22 11:26:20 +00:00
lukem 5b7400f6ea some todo items 2002-12-11 14:33:15 +00:00
lukem a3d56580b8 - set cachesize to 1MB (instead of default 2.5KB); greatly improves
performance on large imports
- remove unnecessary asserts
2002-12-11 14:30:53 +00:00
lukem a8f67a8b25 db(1) - manipulate db(3)'s btree(3) and hash(3) databases 2002-12-11 13:40:42 +00:00