3.2. Updating Individual Records
If it takes a long time to build a very large DBM database, consider using the bin/update script to change just one field in a record, or to add from a corrections list.
The database is specified with the -n option, or is 'products' by default.
The following updates the products database price field for item 19-202 with the new value 25.00:
update -c catalog -f price 25.00
More than one field can be updated on a single command line.
update -c catalog -f price -f comment 25.00 "That pitchfork couple"
The following takes input from file, which must be formatted exactly like the original database, and adds/corrects any records contained therein.
update -c catalog -i file
Invoke the command without any arguments for a usage message describing the options.