edit-db.pl [options] <file> --version -V print version info --usage --help -h print usage info --verbose -verbose debugging messages --type=[type] -t [type] type of db file to use (btree/hash/recno)
key - choose the next key.. (not needed?) and show the value
show - show the value for the present key
seq - go through the dbm file in sequence (the present location is
always remembered)
edit - edit the value of the current key in the editor
add - add a key (with a string the string becomes the new key, with
nothing the editor is opened to allow the value to be input)
delete - delete a key/value pair
help - list the available commands quit - quit from the program.
Any changes you make are only written when the program quits, so typing ctrl-C aborts with no changes under the present version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA